...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.
In reply to Re: Re3: Capturing brackets within a repeat group
by BrowserUk
in thread Capturing brackets within a repeat group
by BrowserUk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |