|
|
| Don't ask to ask, just ask | |
| PerlMonks |
Re: offset of named capture bufferby Athanasius (Vicar) |
| on Nov 06, 2012 at 13:51 UTC ( #1002475=note: print w/ replies, xml ) | Need Help?? |
|
See also the 2008 thread Finding match offsets of named captures in 5.10 regex, in which it is suggested that a code block can be used to capture the offset with a call to pos. Update: An example:
Athanasius <°(((>< contra mundum
In Section
Seekers of Perl Wisdom
|
|
||||||||||||||||||||