tslint-eslint-rules icon indicating copy to clipboard operation
tslint-eslint-rules copied to clipboard

no-empty-character-class false positive with unicode regexps

Open Jessidhia opened this issue 7 years ago • 4 comments

Any regular expression with u in their flags causes the warning.

image

Presumably the same will happen when typescript gets support for s in the flags (dotAll).

Jessidhia avatar Feb 08 '18 09:02 Jessidhia

Hey @Kovensky, thanks for reporting the problem. This issue shouldn't be too hard to fix, would you open a PR for that?

buzinas avatar Feb 25 '18 15:02 buzinas

Same goes for s

ilan-schemoul avatar Jun 10 '18 01:06 ilan-schemoul

@buzinas friendly ping )

vvscode avatar Mar 10 '19 06:03 vvscode

Is this still relevant?

danielemonaca avatar Feb 21 '22 02:02 danielemonaca