Open camc314 opened 2 weeks ago
looks like eslint doesn't report an error for this case (escacpe on the \-
), but we do.
gonna leave the fixer alone and fix this false positive
minimal test case:
/[\s\-(]/;
update: i think it's going to be better if we wait till the linter has access to the pared regex ast and do it that way, else it's just going to be duplicating some of the regex parsing code
I think it's going to be better if we wait till the linter has access to the pared regex ast and do it that way, else it's just going to be duplicating some of the regex parsing code
We do now 😁
is being fixed to
which is an invalid regex