Closed zoffixznet closed 7 years ago
After playing with code, the something is the braces on s:g//, changing them to some other delimiter fixes the issue
Oops. I was wrong. It only unbreaks when using something like ♥
, but that makes invalid code since we need matching braces in the s{...} = 'something'
form
I think I found it now, something to do with all the backslashes. This isn't broken:
if $parent {
while $path ~~ s:g { [^ | <?after ï½¢\ï½£>] <!before ï½¢..\ï½£> <-[\\]>+ '\\..' ['\\' | $ ] } = '' { };
}
This is a duplicate of https://github.com/perl6/atom-language-perl6/issues/56 but i'm going to keep this one open and close the other one.
The problem is that s:g{ }
is not highlighting as regex period, and so this wrecks things when it doesn't know it's inside a regex. IF you change them to s:g / / then it all is fine.
Fixed in 1.15.0 which has just been released. :heavy_check_mark:
I'm using 1.8.0
Example Code
Picture [optional]
Leave this in. For internal use.