Beefy Boxes and Bandwidth Generously Provided by pair Networks
The stupid question is the question not asked
 
PerlMonks  

Re: Regex code block executes twice per match using look-arounds

by mrpeabody (Friar)
on Jul 12, 2007 at 18:54 UTC ( [id://626299]=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
      Setting an EVAL scope, savestack=25
       4 <{x1}> <[x2]>        |  1:  IFMATCH[-1]
       3 <{x1> <}[x2]>        |  3:    OPEN1
    ...
    Match 1: left }, right [
       4 <{x1}> <[x2]>        | 41:  END
    Match successful!
    
  2. or download this
      Setting an EVAL scope, savestack=37
       4 <{x1}> <[x2]>        |  1:  IFMATCH[-1]
       3 <{x1> <}[x2]>        |  3:    OPEN1
    ...
    Match 2: left }, right [
       4 <{x1}> <[x2]>        | 41:  END
    Match possible, but length=0 is smaller than requested=1, failing!
    
  3. or download this
    Compiling REx `[]>})]'
    size 12 Got 100 bytes for offset annotations.
    first at 1
    ...
    Freeing REx: `"[]>})]"'
    Freeing REx: `"[[<{(]"'
    Freeing REx: `"\n   (?<=((?-xism:[]>})])))\n   (?=((?-xism:[[<{(])))\n
    +   ("......'
    

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others having an uproarious good time at the Monastery: (3)
As of 2024-04-25 12:13 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found