Closed Alhadis closed 9 years ago
Observe:
my $line; while(<>){ chomp; $line = $_; # Delete control characters $line =~ s/[ \x{00}-\x{08} ]//gx; say $line; }
Becomes:
Adding or removing the /gx modifiers has no impact on the overzealous highlighting, either.
/gx
I've noticed that highlighting won't spill across lines if there's at least one extra delimiter on the first line.
For instance, this is okay:
But not this:
Thanks for reporting, I located the problem and fixed it in the attached pull request.
Observe:
Becomes:
Adding or removing the
/gx
modifiers has no impact on the overzealous highlighting, either.System specs:
Update
I've noticed that highlighting won't spill across lines if there's at least one extra delimiter on the first line.
For instance, this is okay:
But not this: