Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
「状態消去」メソッドを使用して、このDFAを正規表現に変換する方法を説明できる人はいますか。私はオンラインで見ましたが、私が見たいくつかの例をよく理解していません.
ありがとうございました。
最初にエッジをREに変換します
状態 1 を削除
3 からのエッジに注意 --> 3
結果 =(0+10)*11(0+1)*
(0+10)*11(0+1)*
Nokogiri を使用して、いくつかの xhtml ファイルを解析および更新しようとしています (画像サイズの修正)。
解析と更新はうまくいきますが、ドキュメントを次のように保存すると:
doc.to_xhtml(:indent_text => "\t", :indent=>1, :encoding =>