diff options
| -rw-r--r-- | doc/manpages/regex.asciidoc | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/doc/manpages/regex.asciidoc b/doc/manpages/regex.asciidoc index 5739bd20..9ff56486 100644 --- a/doc/manpages/regex.asciidoc +++ b/doc/manpages/regex.asciidoc @@ -151,9 +151,9 @@ More complex assertions can be expressed with lookarounds: * `(?<!...)` is a negative lookbehind, it will match if its content does not match the text preceding the current position -For performance reasons lookaround contents cannot be an arbitrary -regular expression, it must be sequence of literals, character classes -or any-character (`.`), and the use of quantifiers are not supported. +For performance reasons lookaround contents must be sequence of literals, +character classes or any-character (`.`); The use of quantifiers +are not supported. For example, `(?<!bar)(?=foo).` will match any character which is not preceded by `bar` and where `foo` matches from the current position |
