Sample Header Ad - 728x90

Advanced regex: Can't figure a case where (?R) recursive regex can be used

1 vote
2 answers
661 views
Is anyone here can explain a case where the recursive Perl/PCRE regex (?R) can be helpful ? I read - https://regular-expressions.mobi/recursebacktrack.html?wlr=1 - https://perldoc.perl.org/perlre.html#(%3fPARNO)-(%3f-PARNO)-(%3f%2bPARNO)-(%3fR)-(%3f0) but still can't find a use-case.
Asked by Mévatlavé Kraspek (541 rep)
Jun 29, 2020, 08:33 PM
Last activity: Jun 30, 2020, 05:07 AM