Skip to content

Commit ae39c34

Browse files
authored
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.
1 parent 633db6f commit ae39c34

File tree

1 file changed

+1
-1
lines changed
  • 9-regular-expressions/15-regexp-catastrophic-backtracking

1 file changed

+1
-1
lines changed

9-regular-expressions/15-regexp-catastrophic-backtracking/article.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ let str = "An input string that takes a long time or even makes this regexp hang
3737
alert( regexp.test(str) );
3838
```
3939

40-
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.
40+
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 enigine for browsers and Node.js).
4141

4242
## Simplified example
4343

0 commit comments

Comments
 (0)