Fog Creek Software
Discussion Board




Welcome! and rules

Joel on Software

Help with regex "Balancing group definition"?

I find the documentation on the "(?<name1-name2>)" regex grouping construct basically impossible to understand. "Because deleting the last definition of name2 reveals the previous definition of name2"???

I'd greatly appreciate it someone would share a regex that can match parens or quotes.

Jon Shemitz
Thursday, September 19, 2002

See page 430 of
http://www.oreilly.com/catalog/regex2/chapter/ch09.pdf

Dunc
Friday, September 20, 2002

*  Recent Topics

*  Fog Creek Home