Skip to content

Commit 60c400d

Browse files
committed
minor fixes
1 parent c6bf5f1 commit 60c400d

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

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)