Beefy Boxes and Bandwidth Generously Provided by pair Networks
We don't bite newbies here... much
 
PerlMonks  

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

by Aristotle (Chancellor)
on Oct 09, 2005 at 12:55 UTC ( [id://498552]=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

A much better alternative that using lots of experimental features to write a single-regex parser is to split the matching across lots of /gc regexes. The resulting code is much easier to follow too, and you don’t need contortions to keep a grip on backtracking (my kingdom for Perl6’s commit!).

Makeshifts last the longest.

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

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others surveying the Monastery: (4)
As of 2024-04-24 20:59 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found