Fun With .NET Regex Balancing Groups
Wednesday, January 23rd, 2008 • Related • Filed Under
The .NET Framework's regular expression package includes a unique feature called balancing groups, which is a misnomer since although they can indeed be used to match balanced constructs, that's not all they're good for and really has nothing to do with how they work. Unfortunately, balancing groups are quite poorly documented. Following is a brief […]