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 $.