Merge pull request #1726 from sohailashraf003/patch-1

Fixing a typo
This commit is contained in:
Alexey Pyltsyn 2020-01-30 07:26:26 +03:00 committed by GitHub
commit 05b0360d76
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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.