balancing-groups Questions
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
2
Solved
I was just reading a question about how to get data inside double curly braces (this question), and then someone brought up balancing groups. I'm still not quite sure what they are and how to use t...
Autism asked 8/6, 2013 at 21:0
2
Solved
TL;DR: Using capturing (and in particular balancing groups) inside .NET's lookbehinds changes the obtained captures, although it shouldn't make a difference. What is it with .NET's lookbehi...
Vltava asked 15/11, 2012 at 0:4
1
As a generically brewed example for the purpose of this question, my intent is to match some number of a's, then an equal number of b's, plus one more b.
Examine the two patterns exhibited in thi...
Romanesque asked 17/9, 2010 at 2:40
1
© 2022 - 2024 — McMap. All rights reserved.