Recursion in regular expressions
📁 python, пример, ии
Hello.
There is a regular expression (for example)
/ \ (([^) (]+ | (? R))+ \) /XPre>(? R) means a recursive link to the regular expression itself, where you can find a regular express processor supporting such recursion for Java or Python?
Standardjava.util.Regex and the Pythonregex do not seem to support this mechanism.
Regular expression is taken.
Ответов пока нет.
Войдите чтобы оставить ответ
Блоги