fdorg / flashdevelop

FlashDevelop is a free and open source code editor.
MIT License
820 stars 220 forks source link

`^"` in regex breaks matching identifier highlighting #3214

Open YellowAfterlife opened 3 years ago

YellowAfterlife commented 3 years ago

5.3.4.651 / 77e3c9b687

Sample snippet:

class Main {
    static function main() {
        var rx = ~/one/;
        rx.match("one");
        rx = ~/[^"]/;
        rx.match("one");
    }
}

Screenshot: image (rx would normally highlight, but with this it doesn't)