Describe what you see, what you want to see, and perhaps some linkage to docs, synopses, or irclog chatter.
The s[pattern] = doit() substitution /e modifier replacement defined in S05 breaks highlighting if used with adverbs. It also doesn't apply regex highlighting, even without adverbs.
Example Code
sub some-sub(Str $something) is export
{
my $s = $something.subst("::", "");
$s ~~ s:g[(<[A..Z]>)(<[A..Z]>*)] = $0 ~ lc($1);
$s;
}
sub another-sub is export { return some-sub("Hello::World"); }
The
s[pattern] = doit()
substitution /e modifier replacement defined in S05 breaks highlighting if used with adverbs. It also doesn't apply regex highlighting, even without adverbs.Example Code
Picture [optional]
Leave this in. For internal use.