recursive-regex Questions
1
I want to validate the string to be an integer of such format of undefined length.
/\A (?<d> ( ( (\g<d>[[:space:]])? \d)? \d)? \d) \z/x === "12 123 123"
but it throws
SyntaxE...
Cutis asked 16/8, 2023 at 19:34
2
Solved
This is very much related to Regular Expression to match outer brackets however, I specifically want to know how or whether it's possible to do this regex's recursive pattern? I'm yet to find a pyt...
Retinoscope asked 15/10, 2014 at 15:11
2
PCRE has a feature called recursive pattern, which can be used to match nested subgroups. For example, consider the "grammar"
Q -> \w | '[' A ';' Q* ','? Q* ']' | '<' A '>'
A -&g...
Macrophysics asked 28/7, 2010 at 4:47
6
Solved
I seem to remember that Regular Expressions in DotNet have a special mechanism that allows for the correct matching of nested structures, like the grouping in "( (a ( ( c ) b ) ) ( d ) e )".
What...
Anglophile asked 8/7, 2009 at 16:30
1
Solved
i know there are several questions about regex recursion in .net. I can write somewhat complex regex expressions but this recursion is beyond me, i am just not able to write it.
This are the quest...
Gambia asked 21/3, 2012 at 22:23
1
I would like to match text enclosed in brackets etc in Perl. How can I do that?
This is a question from the official perlfaq. We're importing the perlfaq to Stack Overflow.
Duress asked 15/12, 2010 at 0:30
2
Solved
After reading polygenelubricants's series of articles on advanced regular expressions techniques (particularly How does this Java regex detect palindromes?), I decided to attempt to create my own P...
Merino asked 17/9, 2010 at 20:6
1
© 2022 - 2024 — McMap. All rights reserved.