Beefy Boxes and Bandwidth Generously Provided by pair Networks
Do you know where your variables are?
 
PerlMonks  

Re: How to know that a regexp matched, and get its capture groups?

by GrandFather (Saint)
on Jan 09, 2023 at 21:09 UTC ( #11149473=note: print w/replies, xml ) Need Help??


in reply to How to know that a regexp matched, and get its capture groups?

Parsers can be tricky. You may be interested in looking at a parsing tool such as Marpa::R2 to do most of the heavy lifting for you so that you can concentrate on syntax and output from the parser.

Optimising for fewest key strokes only makes sense transmitting to Pluto or beyond
  • Comment on Re: How to know that a regexp matched, and get its capture groups?

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others avoiding work at the Monastery: (6)
As of 2023-03-27 17:51 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Which type of climate do you prefer to live in?






    Results (65 votes). Check out past polls.

    Notices?