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.
ドイツ語の過去分詞に関する正規表現を扱う手が必要です。それらのほとんどは「ge」で始まり、「en」または「t」で終わります。ただし、傾いている場合を除きます。この場合、1 つまたは 2 つの追加の文字があります。 . 誰か助けてくれませんか?
次の Regex は、ge-で始まり-tまたは-enで終わる非格変化動詞と、-te、-ene、-tem、および-enemで終わる格変化をキャプチャします。
^ge[a-z]+(t|en)(e*)(m*)$
ルーブルリンク