Skip to content
This repository has been archived by the owner on May 21, 2019. It is now read-only.

Commit

Permalink
Simplify regexp.
Browse files Browse the repository at this point in the history
  • Loading branch information
vlad-shatskyi committed Sep 15, 2017
1 parent 7055467 commit aeab81f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/monaco/ShellLanguage.ts
Original file line number Diff line number Diff line change
Expand Up @@ -130,7 +130,7 @@ monaco.languages.setLanguageConfiguration("shell", {
["[", "]"],
["{", "}"],
],
wordPattern: /(\d*\.\d\w*\$)|([^\`\~\!\#\%\^\&\*\(\)\=\+\[\{\]\}\\\|\;\:\'\"\,\<\>\/\?\s]+)/g,
wordPattern: /(\d*\.\d\w*\$)|([^`~!#%^&*()=+\[{\]}\\|;:'",<>\/?\s]+)/g,
});

monaco.editor.onDidCreateModel(model => {
Expand Down

0 comments on commit aeab81f

Please sign in to comment.