Skip to content

Commit 6ac630c

Browse files
committed
Merge branch 'master' of github.com:javascript-tutorial/en.javascript.info into sync-f6ae0b5a
2 parents 4ffc9ed + f6ae0b5 commit 6ac630c

File tree

1 file changed

+1
-1
lines changed
  • 9-regular-expressions/14-regexp-lookahead-lookbehind

1 file changed

+1
-1
lines changed

9-regular-expressions/14-regexp-lookahead-lookbehind/article.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ In other words, such pattern means that we're looking for `pattern:X` followed b
3333

3434
That's only possible if patterns `pattern:Y` and `pattern:Z` aren't mutually exclusive.
3535

36-
For example, `pattern:\d+(?=\s)(?=.*30)` looks for `pattern:\d+` only if it's followed by a space, and there's `30` somewhere after it:
36+
For example, `pattern:\d+(?=\s)(?=.*30)` looks for `pattern:\d+` that is followed by a space `pattern:(?=\s)`, and there's `30` somewhere after it `pattern:(?=.*30)`:
3737

3838
```js run
3939
let str = "1 turkey costs 30€";

0 commit comments

Comments
 (0)