аватар question@mail.ru · 01.01.1970 03:00

Recursion in regular expressions

Hello.
There is a regular expression (for example)

 / \ (([^) (]+ | (? R))+ \) /X    

(? 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?
Standard java.util.Regex and the Python regex do not seem to support this mechanism.
Regular expression is taken.

аватар answer@mail.ru · 01.01.1970 03:00


Alteative engine for regular expressions of python with support for recursion.

java of the engine does not seem at present.

Latest

Similar