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

Ignore emails when using @ token #27

Open
smilesrg opened this issue Oct 16, 2014 · 2 comments
Open

Ignore emails when using @ token #27

smilesrg opened this issue Oct 16, 2014 · 2 comments

Comments

@smilesrg
Copy link

how to ignore email entries when using @ token? Just use: delimiter: '(^|\\s)@' option. Please add it to description or fix issue right in plugin code.

@smilesrg smilesrg changed the title How to ignore emails when using @ token? Ignore emails when using @ token Oct 19, 2014
@tchalvak
Copy link

That is a good catch!

@AlexHaan-i
Copy link

That doesn't work when emptyQuery is set to true because that part of the check in _matcher is not based on a regular expression.
I found it easier to assume you simply use a single character as delimiter and you'd never want to match when there's a word-character in front of that delimiter.
See pull request: #52

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

3 participants