3 ms·
I am surprised that the OP does not include perl5 in their table. In raku (aka perl6) Regexes were reinvented by Larry Wall (the creator of perl which made per
by librasteve 3y ago
I am surprised that the OP does not include perl5 in their table.
In raku (aka perl6) Regexes were reinvented by Larry Wall (the creator of perl which made perlRE the de facto regex standard)
Here's what he does with $:
(https://docs.raku.org/language/regexes#Start_of_string_and_end_of_string https://docs.raku.org/language/regexes#Start_of_string_and_e...)
* The $ anchor only matches at the end of the string
* The $$ anchor matches at the end of a logical line. That is, before a newline character, or at the end of the string when the last character is not a newline character.