Skip to content

Commit f716a91

Browse files
committed
minor fixes
1 parent 27c3030 commit f716a91

File tree

1 file changed

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

1 file changed

+1
-3
lines changed

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

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -37,9 +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, while some can't.
41-
42-
For example, V8 engine version starting from 8.8 can handle such a search (so Google Chrome 88 doesn't hang here).
40+
To be fair, let's note that some regular expression engines can handle such a search effectively, for example V8 engine version starting from 8.8 can do that (so Google Chrome 88 doesn't hang here), while Firefox browser does hang.
4341

4442
## Simplified example
4543

0 commit comments

Comments
 (0)