Skip to content

no-useless-flag false positive for i flag and Unicode property escapes #265

@RunDevelopment

Description

@RunDevelopment

See the following example:

var re1 = /\p{Ll}/iu;

image

This report is incorrect as \p{Ll} matches all lower-case letters. The i flag is very much necessary.

Metadata

Metadata

Labels

bugSomething isn't working

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions