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

Use _ around nick #211

Open
mattberther opened this issue Oct 16, 2016 · 2 comments
Open

Use _ around nick #211

mattberther opened this issue Oct 16, 2016 · 2 comments

Comments

@mattberther
Copy link

mattberther commented Oct 16, 2016

When you have a nick (lets say push), and someone says a word that includes your nick (lets say pushover), you get an alert.

I think it would be preferable to have the default nick alert be _%nick%_. Thoughts?

@chrko
Copy link

chrko commented May 5, 2017

Just to clarify: _%nick%_
But this will kill mentions and highlight in the form of nick: blala or is there something, nick?
I have a common problem. In some network I use a nick with only two characters. Of course I get often false positives.
I would propose a regex match; an example would be the colorize_nicks.py script in weechat: https://weechat.org/scripts/source/colorize_nicks.py.html/:

VALID_NICK = r'([@~&!%+])?([-a-zA-Z0-9\[\]\\`_^\{|\}]+)'

@mattberther
Copy link
Author

A regex would be a nice solution to this. 👍

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

2 participants