MadcapJake / language-perl6fe

»ö« Atom Perl 6 Support - Forgotten Edition »ö«
https://github.com/perl6/atom-language-perl6
Other
16 stars 3 forks source link

Regex '/' delimiters spread over multiple lines breaks syntax highlighting #35

Open zoffixznet opened 8 years ago

zoffixznet commented 8 years ago

Issue Description

The regex delimiters position in the example code breaks the syntax highlighting for braces following them. This may be related to #34

Example Code

{
    {
        is_run q[Supply.interval(1).tap(-> { say 'hi' }); sleep 3;], {
            status => 0,
            err => /
                'Unhandled exception in code scheduled on thread' .+
                'Too many positionals' .+ 'expected 0 arguments but got 1'
            /
        }, '.tap block with incorrect signature must fail';
    }
}

Picture

untitled