gedit: JavaScript syntax highlighting false positives for regular expressions
Asked by
Christopher Night
I was going to report this as a bug, and it recommended asking here first. JavaScript syntax highlighting in gedit picks out regexes (regular expressions) when they're not there. To reproduce, open a new file in gedit, change the syntax highlighting option to JavaScript, and enter the following line:
var x = 1 / 2, y = 1 / 2;
Everything between the two slashes is highlighted like a regex. It's true that in JavaScript regexes are delimited by two slashes, but that's not what's happening here.
Is there an easy fix? Thanks.
Question information
- Language:
- English Edit question
- Status:
- Open
- For:
- Ubuntu Edit question
- Assignee:
- No assignee Edit question
- Last query:
- Last reply:
Can you help with this problem?
Provide an answer of your own, or ask Christopher Night for more information if necessary.
To post a message you must log in.