Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl: the Markov chain saw
 
PerlMonks  

Re^3: Being Forced to Fork with Nested Regular Expressions

by adrianh (Chancellor)
on Jan 16, 2004 at 22:46 UTC ( #321938=note: print w/ replies, xml ) Need Help??


in reply to Re: Re: Being Forced to Fork with Nested Regular Expressions
in thread Being Forced to Fork with Nested Regular Expressions

Somewhat belated reply ;-)

Even if you don't use the call stack, I think that the regex engine is probably the wrong choice - it's just not made to be used that way easily (as you've found out :-)

Implementing backtracking isn't really that hard. All you really need is a stack. I'd start there if it was me.


Comment on Re^3: Being Forced to Fork with Nested Regular Expressions

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others making s'mores by the fire in the courtyard of the Monastery: (13)
As of 2014-09-19 12:29 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    How do you remember the number of days in each month?











    Results (137 votes), past polls