Is there an existing issue for this?
Current Behavior
If you create a conditional effect and use the "matches regex" comparator using the regex [A-Z]{3} as the expected value will match any capitol letter in a string, when it should only match when there are three capitol letters in a string.
Expected Behavior
When using the regex [A-Z]{3} as the expected value it should only create a match when there are 3 (or more) capital letters in a row.
Steps To Reproduce
- Create a conditional effect.
- Use the "matches regex" comparator using the regex
[A-Z]{3} as the expected value
- Add log messages to indicate where matches occur and test against these conditions:
test, Test, tesT, TESt, and TEST,
- Currently all but
test return a match.
Version
5.66.7
What operating system are you using Firebot on?
Windows 11
Relevant log output
Contact Details (Optional)
No response
Is there an existing issue for this?
Current Behavior
If you create a conditional effect and use the "matches regex" comparator using the regex
[A-Z]{3}as the expected value will match any capitol letter in a string, when it should only match when there are three capitol letters in a string.Expected Behavior
When using the regex
[A-Z]{3}as the expected value it should only create a match when there are 3 (or more) capital letters in a row.Steps To Reproduce
[A-Z]{3}as the expected valuetest,Test,tesT,TESt, andTEST,testreturn a match.Version
5.66.7
What operating system are you using Firebot on?
Windows 11
Relevant log output
Contact Details (Optional)
No response