From f6ae0b5a5f3e48074312ca3e47c17c92a5a52328 Mon Sep 17 00:00:00 2001 From: Ilya Kantor Date: Sun, 28 Feb 2021 22:24:46 +0300 Subject: [PATCH] minor fixes --- 9-regular-expressions/14-regexp-lookahead-lookbehind/article.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/9-regular-expressions/14-regexp-lookahead-lookbehind/article.md b/9-regular-expressions/14-regexp-lookahead-lookbehind/article.md index 8c6a161a..04cca7c8 100644 --- a/9-regular-expressions/14-regexp-lookahead-lookbehind/article.md +++ b/9-regular-expressions/14-regexp-lookahead-lookbehind/article.md @@ -33,7 +33,7 @@ In other words, such pattern means that we're looking for `pattern:X` followed b That's only possible if patterns `pattern:Y` and `pattern:Z` aren't mutually exclusive. -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: +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)`: ```js run let str = "1 turkey costs 30€";