Skip to content

Fix regex for 'spooky' trigger pattern#1705

Merged
jb3 merged 1 commit into
mainfrom
Matiiss-patch-1
Oct 29, 2025
Merged

Fix regex for 'spooky' trigger pattern#1705
jb3 merged 1 commit into
mainfrom
Matiiss-patch-1

Conversation

@Matiiss
Copy link
Copy Markdown
Member

@Matiiss Matiiss commented Oct 29, 2025

Relevant Issues

https://discordapp.com/channels/267624335836053506/635950537262759947/1432895836609712128
image

Description

Removed | used within [] in a regex pattern where the intended purpose seems to have been to use it as an "or" pattern, but since it's inside [] (as opposed to ()), this is redundant and now it can match patterns like spoo||aaaa

That said, maybe it should be left as is (as a little Easter Egg)?

Did you:

@jb3
Copy link
Copy Markdown
Member

jb3 commented Oct 29, 2025

/merge

@jb3 jb3 merged commit cb14fcf into main Oct 29, 2025
4 of 5 checks passed
@jb3 jb3 deleted the Matiiss-patch-1 branch October 29, 2025 01:25
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.

2 participants