Hacker News new | ask | show | jobs
by landyacht 564 days ago
Perl and Raku are grouped together today primarily for historical reasons. Yes, Raku started as Perl 6 and is certainly a Perl-inspired language, but the rename happened precisely because it is so different.

Regarding regexes, Raku introduces a whole new syntax, makes whitespace non-meaningful by default, and allows regexes to be named and then composed/reused. Those three changes, along with helpful modules like Grammar::Tracer, make reading and writing regexes a totally different experience. It's still going to look like noise at first, of course, but even then the syntax parallels normal code far better than PCREs, so you're more likely to make a correct guess about what something means.