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

Allow matching nicks via regexp #1

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

Conversation

avar
Copy link

@avar avar commented Feb 11, 2016

The ~ character is not allowed in IRC nicknames, so we take ~ at the
start to mean "the rest is a regex".

I'm using this for:

/set noticeable_nicks ~\[bot\]$,~mon-[0-9]+$,~^mon-.*-[0-9]+$,root,deploy,log,jenkins,nagmetoo

To mark all the robots at work, also update the main code to match
[bot]$ nicknames, which is apparently a Slack convention.

The ~ character is not allowed in IRC nicknames, so we take ~ at the
start to mean "the rest is a regex".

I'm using this for:

    /set noticeable_nicks ~\[bot\]$,~mon-[0-9]+$,~^mon-.*-[0-9]+$,root,deploy,log,jenkins,nagmetoo

To mark all the robots at work, also update the main code to match
\[bot\]$ nicknames, which is apparently a Slack convention.
avar added a commit to avar/dotfiles that referenced this pull request Feb 11, 2016
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

Successfully merging this pull request may close these issues.

1 participant