-
Notifications
You must be signed in to change notification settings - Fork 53
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
Path matching fails on paths with capitals #177
Comments
Can confirm this. My workaround for now is to write them as I'd recommend picking one of these solutions:
Option one is more in line with the current behaviour and probably makes the most sense as most web servers don't care about case anyway. |
I'd prefer this option. Just trust that I know what I'm doing with my input. If the regex ends up being invalid or slow, then fail gracefully, but don't force all the uppercase I just typed in to be lowercase. That's annoying. |
@Cybolic , do you know how to set a single regex to be case sensitive? Containerise seems to have a proprietary syntax for defining one. I think a JavaScript regex would have an |
My use case is a URL for a Slack workspace such as If I need to replace every capital letter with a |
This is a duplicate issue, I posted a workaround #120 (comment) |
Regexps containing capitals are converted to lower case but then fail to match paths which contain capitals.
What I did
@?.*.example.com/UpperCase
go to www.example.com/UpperCase
What happens
When I enter the string above it gets converted to lower case
@?.*.example.com/UpperCase
and then the match fails.
What I expected to happen
the regexp should maintain case (possibly excluding the domain name? not sure how to handle this)
the site with an upper case character in the path sshould be possible to match
The text was updated successfully, but these errors were encountered: