Fixing a typo
Check if `pattern:Y` is immediately after `pattern:X` and then the regex will check if Z is immediately after Y, Like this it's more understandable.
This commit is contained in:
parent
bd6052f591
commit
6dbd3060e1
1 changed files with 1 additions and 1 deletions
|
@ -26,7 +26,7 @@ More complex tests are possible, e.g. `pattern:X(?=Y)(?=Z)` means:
|
||||||
|
|
||||||
1. Find `pattern:X`.
|
1. Find `pattern:X`.
|
||||||
2. Check if `pattern:Y` is immediately after `pattern:X` (skip if isn't).
|
2. Check if `pattern:Y` is immediately after `pattern:X` (skip if isn't).
|
||||||
3. Check if `pattern:Z` is immediately after `pattern:X` (skip if isn't).
|
3. Check if `pattern:Z` is immediately after `pattern:Y` (skip if isn't).
|
||||||
4. If both tests passed, then it's the match.
|
4. If both tests passed, then it's the match.
|
||||||
|
|
||||||
In other words, such pattern means that we're looking for `pattern:X` followed by `pattern:Y` and `pattern:Z` at the same time.
|
In other words, such pattern means that we're looking for `pattern:X` followed by `pattern:Y` and `pattern:Z` at the same time.
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue