Even being another language, Perl6 should be inheriting Perl5's regexes or
even improving it not making it uglier and harder.
Or I'm seeing how to use it in an easy way. Also, dunno if there is some
GOOD documentation to Perl6 regexes.
On Sun, Aug 18, 2019 at 12:56 PM Brad Gilbert wrote:
> The
Perl6 improved on regexes precicely by not inheriting decades of
accumulated cruft.
Perl (prior to 6) has expanded upon regular expressions in ways it was not
designed for.
(It was not designed to be expanded at all.)
That has lead to hard to guess extensions, because they are not all that
consist
Hi David,
I think you're right in this. While I like the name chosen by Eliza I
also thought about the changes which will follow after the renaming.
Like in documentation with mentions of perl6, websites, books,
extensions of modules, programs and pod docs etc.
If it comes to renaming, Camel
Hi Brad,
Thanks for your response! I'll study your examples more carefully in the
upcoming days,
The grammar system seems to explicitly "enforcing" me to separate the
parsing logic and the handling logic, which is a switch that is doable for
me... unless both logics get 'inter-mingled'? The latte
The Perl6 regex system was simplified.
Instead you use the rest of Perl6 to implement those features.
Both inside and outside of the regexes.
(Which means there are fewer esoteric features that are rarely used, and
often forgotten or never learned.)
It might be best to just store the position at t
Hello,
In the past few days I've been converting some "incremental parsing"-regex
code from perl 5 to perl 6 (I haven't not touched grammars, yet...)
In Perl 5 I often used the /g and /c modifiers so that the following
snippet of code doesn't die:
# perl5
my $test = " foo bar";