the type name is lookbehind instead of lookahead

This commit is contained in:
Saiful 2021-01-17 18:08:55 +06:00
parent 37c906ca56
commit 0f65c3986f

View file

@ -1,7 +1,7 @@
The regexp for an integer number is `pattern:\d+`.
We can exclude negatives by prepending it with the negative lookahead: `pattern:(?<!-)\d+`.
We can exclude negatives by prepending it with the negative lookbehind: `pattern:(?<!-)\d+`.
Although, if we try it now, we may notice one more "extra" result: