Beefy Boxes and Bandwidth Generously Provided by pair Networks
There's more than one way to do things
 
PerlMonks  

Re: Re:^2 Regex to match 20 chars of some digits followed by some spaces

by ysth (Canon)
on Dec 21, 2003 at 01:40 UTC ( [id://316121]=note: print w/replies, xml ) Need Help??


in reply to Re:^2 Regex to match 20 chars of some digits followed by some spaces
in thread Regex to match 20 chars of some digits followed by some spaces

I actually have never used Parse::RecDescent but was assuming it was working on an input buffer using the supplied regex as something like /\G$regex/gc so I didn't supply a beginning anchor and an ending anchor is not usable. I haven't got around to checking my assumption yet...and you know what they say when you assUme.
  • Comment on Re: Re:^2 Regex to match 20 chars of some digits followed by some spaces
  • Download Code

Replies are listed 'Best First'.
Re: Re: Re:^2 Regex to match 20 chars of some digits followed by some spaces
by ysth (Canon) on Dec 22, 2003 at 09:51 UTC
    Well, I've read through Parse::RecDescent and it does work as I had guessed. So solutions to this problem should not have ^ and may not depend on $.

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others surveying the Monastery: (3)
As of 2025-01-25 05:26 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Which URL do you most often use to access this site?












    Results (70 votes). Check out past polls.