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

feat: regexp should be allowed as trigger keywords #2

Open
denouche opened this issue Jan 9, 2017 · 2 comments
Open

feat: regexp should be allowed as trigger keywords #2

denouche opened this issue Jan 9, 2017 · 2 comments

Comments

@denouche
Copy link
Owner

denouche commented Jan 9, 2017

No description provided.

@denouche
Copy link
Owner Author

denouche commented Jan 9, 2017

And maybe continue to accept string as well as regexp, and when trying to match transform strings to regexp to add word boundary, for example:

'regex' => /\bregex\b/

@denouche
Copy link
Owner Author

denouche commented Jan 9, 2017

do not forgot to escape the string before to create the regexp _.escapeRegExp

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