http://qs321.pair.com?node_id=1201900


in reply to Re^2: Regex: matching character which happens exactly once (using global memory)
in thread Regex: matching character which happens exactly once

I didn't expect my forward ref to work, if that's what you thought. The regex engine would have to include a flag to indicate when the first capturing parens were seen, and do the right thing.

-QM
--
Quantum Mechanics: The dreams stuff is made of