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
|
---|
Replies are listed 'Best First'. | |
---|---|
Re^4: Regex: matching character which happens exactly once (updated)
by LanX (Saint) on Oct 23, 2017 at 14:50 UTC | |
by QM (Parson) on Oct 23, 2017 at 16:57 UTC | |
by LanX (Saint) on Oct 23, 2017 at 18:51 UTC |
In Section
Seekers of Perl Wisdom