You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
monaco-editor version: 0.14.3
Browser: Chromium 51
OS: Ubuntu 15.10
Steps or JS usage snippet reproducing the issue:
The Perl syntax highlighter doesn't recognize regex delimiters other than /regex/ for regular expressions. Perl allows the use of alternative delimiters such as m!regex!. This throws off the highlighting when using a character such an apostrophe (like m!can't!). The syntax highlighter thinks the apostrophe is the beginning of a single quote and highlights everything that comes after it as a string:
The text was updated successfully, but these errors were encountered:
monaco-editor version: 0.14.3
Browser: Chromium 51
OS: Ubuntu 15.10
Steps or JS usage snippet reproducing the issue:
The Perl syntax highlighter doesn't recognize regex delimiters other than /regex/ for regular expressions. Perl allows the use of alternative delimiters such as m!regex!. This throws off the highlighting when using a character such an apostrophe (like m!can't!). The syntax highlighter thinks the apostrophe is the beginning of a single quote and highlights everything that comes after it as a string:
The text was updated successfully, but these errors were encountered: