# redos-detector

Static ReDoS analysis for ECMA-262 regular expressions. It scores the risk without running the pattern, by counting how many distinct paths can match the same input prefix. A score of 1 means every input matches at most one way.

## Install

```sh
cargo add redos-detector
```

## Links

- [Repository](https://github.com/hey-jj/redos-detector)
- [crates.io](https://crates.io/crates/redos-detector)
- [docs.rs](https://docs.rs/redos-detector)
