題組內容

一、假設 input alphabet 是包含 0 與 1 的所有可能字串的集合,請用 regular expression 表 示下列集合:

⑴ 所有由 0 與 1 構成的字串且 0 出現的次數正好為兩次。(5 分)