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

Re^2: Dynamic regex assertions, capturing groups, and parsers: joy and terror

by diotalevi (Canon)
on Oct 03, 2005 at 23:20 UTC ( [id://497085]=note: print w/replies, xml ) Need Help??


in reply to Re: Dynamic regex assertions, capturing groups, and parsers: joy and terror
in thread Dynamic regex assertions, capturing groups, and parsers: joy and terror

It might help to remind that you can't run anything using the regex engine while you're inside a (?{...}) or (??{...}) block. You'll usually get segfaults and such if you do that. The engine isn't re-entrant and if you invoke a regex during a regex, you scribble on memory. Its supposed to have gotten better during 5.8 but I haven't tried it again.

  • Comment on Re^2: Dynamic regex assertions, capturing groups, and parsers: joy and terror

Replies are listed 'Best First'.
Re^3: Dynamic regex assertions, capturing groups, and parsers: joy and terror
by itub (Priest) on Oct 05, 2005 at 20:57 UTC
    Thanks, that might be what was happening! I was calling subroutines from the ?{} blocks and it is very likely that some of them used regexes internally.

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others chilling in the Monastery: (4)
As of 2024-04-16 12:56 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found