Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Non-alphanumeric characters are not highlighted. #6

Open
h1kb opened this issue Dec 6, 2018 · 0 comments
Open

Non-alphanumeric characters are not highlighted. #6

h1kb opened this issue Dec 6, 2018 · 0 comments

Comments

@h1kb
Copy link

h1kb commented Dec 6, 2018

hello,

Non-alphanumeric characters are not highlighted in the project or context.
(e.g. É, й, 漢)

I think that it should be modified as follows.

-AppConstants.PROJECT_REGEX = new RegExp(/\B\+\w+/g);
-AppConstants.CONTEXT_REGEX = new RegExp(/\B\@\w+/g);
+AppConstants.PROJECT_REGEX = new RegExp(/\B\+[^+@\s]+/g);
+AppConstants.CONTEXT_REGEX = new RegExp(/\B\@[^+@\s]+/g);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant