Beefy Boxes and Bandwidth Generously Provided by pair Networks
Your skill will accomplish
what the force of many cannot

Re: reset named capture buffer within regex

by LanX (Canon)
on Nov 22, 2012 at 18:45 UTC ( #1005171=note: print w/ replies, xml ) Need Help??

in reply to reset named capture buffer within regex

> WITHOUT consuming any character of my match target.

I don't fully understand what you are doing, just a hint:

The position will not be altered if you try an "impossible" match within a look-ahead or look-behind.

So you maybe wanna try something like (?=(?<name> ... ))?


Cheers Rolf

Comment on Re: reset named capture buffer within regex
Download Code

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1005171]
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others having an uproarious good time at the Monastery: (7)
As of 2015-07-07 11:27 GMT
Find Nodes?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...

    Results (88 votes), past polls