Michael Mathews skribis 2006-05-28 20:32 (+0100): > Well, one example would be Damian's Exegesis 5 at > http://dev.perl.org/perl6/doc/design/exe/E05.html which I thought was > an authorative word on the subject. Can you give me a link to working > examples of regex in pugs please?
The exegeses are not updated to follow the current specifications. They're still useful, so they're kept around, but the syntax is out of date. Synopses are kept up to date. See http://dev.perl.org/perl6/doc/design/syn/S05.html > *** Cannot parse PGE: foo That means: PGE is currently broken, so Perl 6 regexes don't work in Pugs. > And, as an incentive, I'm offering 1000 Colombian Pesos to the first > person to author a working example of s/+/ /g; in Perl 6*. $foo ~~ s:Perl5:g/\+/ /; Juerd -- http://convolution.nl/maak_juerd_blij.html http://convolution.nl/make_juerd_happy.html http://convolution.nl/gajigu_juerd_n.html