News for hackers. Stuff that matters.
Re:Ask HN: Perl 6: Do you use it, how do you like it, what d... by b2gills on Monday February 06, 2017 @02:08PM (#13582792)
The design of regular expressions is different than any other version from any other language to improve readability along with other improvements.

In Perl 6 regexes are seen as a type of method (that is they are literally implemented as a type of method in Rakudo)

Grammars tend to look like a cross between BNF, and well Perl. https://stackoverflow.com/a/41770672/1337

Perl 6 regexes have longest term matching using |, or sequential matching like Perl 5 using ||.

Since regexes are methods, they can take arguments as well.

There are no comments on this comment yet.