Skip to content

rxxr2 doesn't detect /^a*b?a*x$/ #4

@dimaqq

Description

@dimaqq

I've ran rxxr and rxxr2 on ReDoS examples from Wikipedia, and it detects most but not all evil regular expressions:

/^(a+)+$/ detected, pumpable aa
/^(a|aa)+$/ detected, pumpable aa
/^a*b?a*x$/ not detected

While of course, long sequence of a is equally deadly for the last expression.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions