in reply to Regexp::Grammars parser from scalar

There's lots of example code and explanation on CPAN: Regexp::Grammars

Perhaps a little more about what you want to do?

  • Comment on Re: Regexp::Grammars parser from scalar

Replies are listed 'Best First'.
Re^2: Regexp::Grammars parser from scalar
by nyaapa (Novice) on May 11, 2013 at 14:33 UTC
    yep, it's true, but
    1. i cant use my $regexp = qr{$pattern}ixs, i need to write my $regexp = qr{$pattern }ixs because of caching
    2. there was a bug before version 1.028 with caching of post-translated regexes and because of it i thought that i cant use form like
      $regexp = qr{ ^ <$rule> $ $rules }ixs;
    thanks however )