Closed SnazzGass closed 2 years ago
Thanks for the detailed report! I remember groups being weird so hopefully this is a simple fix.
Changed how RegEx filters work a bit. Can you check to see if this is fixed in the new update?
I cant test if this fix worked because of the new bug https://github.com/DarkKronicle/AdvancedChatFilters/issues/8
Describe the bug when matching multiple sections with a single capture, only the first match gets substituted.
Minecraft Info Minecraft information:
To Reproduce enter (foo|bar) in string to find and set the mode to regex with replace match. This regex string should match and capture either "foo" or "bar", and substitute it into $1, resulting in "[foo]" or "[bar]" respectively
type in chat "foo bar"
bruh moment
Expected behavior