You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The following regex seems to need escapes for the "/" on most platforms.
If entered on the site https://regex-vis.com the escape backslash is deleted from "/" as soon as you press enter.
Oddly it does not do that with the escaped backslash "\" in the same regex.
I entered the regex that you mentioned, and the escape backslash wasn't deleted as soon as I entered it.
I know there's a situation where the escape backslash will be deleted from /: If you edit the regex using the Edit tab, the regex will be regenerated by the new AST. However, I don't store the escape info in the AST, so the unnecessary escape backslash is deleted. If you wrap the regex with //, like /^:?((('\/?(\\'|[^'])+')|("\/?(\\"|[^"])+")|(\/?([^'"])+)+):?)*$/, the escape for / is considered necessary, and thus the escape backslash won't be deleted. I plan to store the escape info in the future.
About the blank screen, I can not reproduce it. Is the regex ^:?((('\/?(\\'|[^'])+')|("\/?(\\"|[^"])+")|(\/?([^'"])+)+):?)*$?
I generated a url. If you click it, you will see the regex with five tests. It looks good on my side.
Can you provide your OS, browser info, the regex and the full tests? Thanks!
The following regex seems to need escapes for the "/" on most platforms.
If entered on the site https://regex-vis.com the escape backslash is deleted from "/" as soon as you press enter.
Oddly it does not do that with the escaped backslash "\" in the same regex.
is changed to
Also, though perhaps this is just a limitation, if I enter more than three tests I just get a blank screen.
Example tests:
I am guessing once you have a few like this it's breaking the size of the request URL or using characters that are not URL encoded properly.
The text was updated successfully, but these errors were encountered: