Welcome to the new platform of Programmers Heaven! We apologize for the inconvenience caused, if you visited us from a broken link of the previous version. The main reason to move to a new platform is to provide more effective and collaborative experience to you all. Please feel free to experience the new platform and use it's exciting features. Contact us for any issue that you need to get clarified. We are more than happy to help you.
I am trying to learn Perl 6 regexes via Pugs. I have the current win32 binary build (which includes a parrot.exe) available from the pugscode.org .
I get a parsing error on the pattern of any Perl 6 regex example I try and I think it maybe because Parrot is not being embedded or externally linked properly into the pugs.exe. Are there some environment variables or pugs environment commands I need to effect to get parrot to get asked to parse for pugs?
The error I get for perl 6 regexes (eg. for an example:
$string ~~ m/a(.*)a/; ) is
*** Cannot parse PGE: a(.*)a
It doesn't make any difference whether the pattern is a(.*)a or something simpler or more complex - pugs can't parse the regex pattern whatever it is.
By the way, if there's some OTHER way than win32 binary-build pugs.exe to try out perl 6 regexes I would be very grateful for that just as well.