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 greater than > and lesser than < symbols #263
Comments
A regex is just a regex, but why would |
Sorry that was a typo, it was not matching a path with /test/ |
That's correct though. There are no characters of |
I think whatever I am writing is not getting shown (I have added in quotes now sorry :() what I meant was Sorry that was a typo, it was not matching a path with |
I tried couple of other things too, /(><)/ , /.(><)./, and /.[><]./ but none of these regex are matching this path |
There's probably two issues you're having:
|
Got it, Thanks @blakeembrey. /(%3E|%3C)/ works. |
I am trying to match greater than > and lesser than < symbols in the path of Express 4.17.1, but it is not working.
I tried regex match using /[><]/, but it is not matching a path with /test/.
Is there any special handling that we need to do to handle this like how it is for $ where we use ([$])?
Any help here is appreciated.
The text was updated successfully, but these errors were encountered: