Skip to content

Commit 827322a

Browse files
committed
Readme update
1 parent f338e18 commit 827322a

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

readme.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -46,6 +46,12 @@ Default: `false` *(Matches any ANSI escape codes in a string)*
4646

4747
Match only the first ANSI escape.
4848

49+
## Important
50+
51+
If you run the regex against untrusted user input in a server context, you should [give it a timeout](https://github.com/sindresorhus/super-regex).
52+
53+
**I do not consider [ReDoS](https://blog.yossarian.net/2022/12/28/ReDoS-vulnerabilities-and-misaligned-incentives) a valid vulnerability for this package.**
54+
4955
## FAQ
5056

5157
### Why do you test for codes not in the ECMA 48 standard?

0 commit comments

Comments
 (0)