Update support note in 9.15 (Catastrophic backtracking)
Refs: https://bugs.chromium.org/p/v8/issues/detail?id=10765 Refs: https://bugs.chromium.org/p/v8/issues/detail?id=11021 Can be tested in the Goole Chrome Beta, Dev, and Canary branches now, as well as in the Node.js v8-canary branch.
This commit is contained in:
parent
633db6fbe9
commit
4512a02fd0
1 changed files with 4 additions and 4 deletions
|
@ -37,7 +37,7 @@ let str = "An input string that takes a long time or even makes this regexp hang
|
||||||
alert( regexp.test(str) );
|
alert( regexp.test(str) );
|
||||||
```
|
```
|
||||||
|
|
||||||
To be fair, let's note that some regular expression engines can handle such a search effectively. But most of them can't. Browser engines usually hang.
|
To be fair, let's note that some regular expression engines can handle such a search effectively. But most of them can't. Browser engines usually hang (Google Chrome can handle such a search since version 88 due to a new experimental regular expression engine shipped in V8, JavaScript engine for browsers and Node.js).
|
||||||
|
|
||||||
## Simplified example
|
## Simplified example
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue