minor fixes
This commit is contained in:
parent
7533c719fb
commit
f6ae0b5a5f
1 changed files with 1 additions and 1 deletions
|
@ -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.
|
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
|
```js run
|
||||||
let str = "1 turkey costs 30€";
|
let str = "1 turkey costs 30€";
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue