Skip to content

add no unbounded groups #843

@Tezra

Description

@Tezra

Nice plugin!

One thing that seems to be missing though is there is no rule that bans +, *, {1,} and {0,}, or in other words groups with no upper bound.

Not really a rule that should be on by default, but for any project that is not using heavy regex, it is good to put a reasonable upper bound on all groups to cap potential worst case, and the main thing I want to enforce on people less familiar with regex.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions