Skip to content

Loosen up the allowed characters in a redirect#77

Open
dariota wants to merge 1 commit into
grickit:masterfrom
dariota:patch-1
Open

Loosen up the allowed characters in a redirect#77
dariota wants to merge 1 commit into
grickit:masterfrom
dariota:patch-1

Conversation

@dariota
Copy link
Copy Markdown
Contributor

@dariota dariota commented Aug 23, 2016

This resolves #70. The negative match at the start of the redirect regex prevents redirects from starting with common bot command characters, to avoid activating other bots with redirects (as fun as that may be).

This resolves #70. The negative match at the start of the redirect regex prevents redirects from starting with common bot command characters, to avoid activating other bots with redirects (as fun as that may be).
@dariota
Copy link
Copy Markdown
Contributor Author

dariota commented Aug 23, 2016

An alternate solution to the problem solved with the negative lookahead would be to have a prefix when redirects are used (e.g. "> Gambit!!!:" instead of "Gambit!!!:") or use notice instead.

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.

Allow punctuation in redirects

1 participant