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”结尾,除非它们被拒绝,在这种情况下会有一个或两个额外的字符. 有人可以帮帮我吗?
The following Regex will capture the undeclinated verbs starting with ge- and ending with -t or -en and the declinations ending with -te, -ene, -tem, and -enem
^ge[a-z]+(t|en)(e*)(m*)$
Rubular link