fixes #1836
This commit is contained in:
parent
6f45ce77c9
commit
a55b99cc5f
1 changed files with 3 additions and 3 deletions
|
@ -26,10 +26,10 @@ 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:Y` (skip if isn't).
|
3. Check if `pattern:Z` is also immediately after `pattern:X` (skip if isn't).
|
||||||
4. If both tests passed, then it's the match.
|
4. If both tests passed, then the `pattern:X` is a match, otherwise continue searching.
|
||||||
|
|
||||||
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.
|
||||||
|
|
||||||
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.
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue