3 ms·
Perl6 goes far beyond regular expressions. https://docs.perl6.org/language/grammar_tutorial https://docs.perl6.org/language/grammar_tutorial https://docs.perl
by cestith 8y ago
Perl6 goes far beyond regular expressions.
https://docs.perl6.org/language/grammar_tutorial https://docs.perl6.org/language/grammar_tutorial
https://docs.perl6.org/language/grammars https://docs.perl6.org/language/grammars
Even with Perl5, if you're using too many regular expressions, you might want to check CPAN.
https://metacpan.org/search?p=1&q=parse&size=500 https://metacpan.org/search?p=1&q=parse&size=500 (over 4k results searching for "parse")
In particular, Parse::RecDescent, Parse::Yapp, Parse::Lex, Parse::Flex, Regexp::Common, Net::IP, NetPacket::IP, ... really most of the things you'd want to parse from Apache::ParseLog to Parse::DNS::Zone
The inclusion of (not so) regular expressions in a language doesn't mean one needs to abuse them.