Closed Bowen7 closed 1 month ago
Close https://github.com/Bowen7/regex-vis/issues/137
To reproduce: input the regex \aaa?
\aaa?
This code will return early when there is a quantifier after unnecessary escaped chars. Just remove the return:
return
https://github.com/Bowen7/regex-vis/blob/d60999ed55d844870a0b95c15c3ace16d3bc7dbc/src/parser/parser.ts#L68-L96
The latest updates on your projects. Learn more about Vercel for Git ↗︎
Close https://github.com/Bowen7/regex-vis/issues/137
To reproduce: input the regex
\aaa?
This code will return early when there is a quantifier after unnecessary escaped chars. Just remove the
return
:https://github.com/Bowen7/regex-vis/blob/d60999ed55d844870a0b95c15c3ace16d3bc7dbc/src/parser/parser.ts#L68-L96