Warn about empty groups containing only assertions
RunDevelopment opened this issue · 1 comments
RunDevelopment commented
Examples:
/(\b)+/
/(?:(?!a))/RunDevelopment commented
Can be achieved using the no-constant-capturing-groups, no-unnecessary-groups, and no-unnecessary-quantifiers rules.