in reply to Re3: Capturing brackets within a repeat group
in thread Capturing brackets within a repeat group
...and thankyou for the correction.
I've only recently begun exploiting the possibilities of \G and /gc, and have found the docs woefully lacking on good examples. Yours is the clearest explanation/ demonstration of the \G assertion I've seen.
It should be in the manual as far as I'm concerned.
Examine what is said, not who speaks.
The 7th Rule of perl club is -- pearl clubs are easily damaged. Use a diamond club instead.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re5: Capturing brackets within a repeat group
by Hofmator (Curate) on Jan 12, 2003 at 18:03 UTC |