develooper Front page | perl.recdescent | Postings from June 2007

Parse::RecDescent::FAQ updated to 5.02

From:
metaperl.com
Date:
June 30, 2007 00:26
Subject:
Parse::RecDescent::FAQ updated to 5.02
Message ID:
1183188345.978173.87730@o61g2000hsh.googlegroups.com
I will have to start updating the ChangeLog from now on:

* Version 5.02 is up -
   http://search.cpan.org/~tbone/Parse-RecDescent-FAQ-5.02/FAQ.pm

* Only change is the regular expression for skipping over things:
   http://search.cpan.org/~tbone/Parse-RecDescent-FAQ-5.02/FAQ.pm#Skipping_over_things

was improved by Chas Owens... "x" as a regexp modifier apparently was
not enough. "xs" was needed:

program: <skip: qr{\s* (/[*] .*? [*]/ \s*)*}x> statement(s)
program: <skip: qr{\s* (/[*] .*? [*]/ \s*)*}xs> statement(s)




nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About