Re:Perl 6 is fun
by bcoates on Monday November 30, 2015 @12:04PM
(#10650388)
Don't know much about the rest of the language, but the Perl 6 regexes are a big improvement and I hope they take over as the conventional syntax in the world outside of Perl.
[ Parent
| on HN ]
What appeals to you about the new regex system? Is it a new syntax or an expanded feature set?
Re:Perl 6 is fun
by fancy_pantser on Monday November 30, 2015 @01:15PM
(#10650778)
They're probably talking about the new "rules" system: https://en.wikipedia.org/wiki/Perl_6_rules
It's a completely new syntax, though a few elements are identical (quantifiers for instance are similar). It tries to be more readable and intuitive.
The regex system is also part of grammars, which did not exist natively in Perl 5.