From d23a30fc5c6e973a897fc1fab0b93bf48a62bdfb Mon Sep 17 00:00:00 2001 From: Kovid Goyal Date: Wed, 27 Dec 2017 08:19:41 +0530 Subject: [PATCH] Modify docs to reflect that regex engine uses multi-line mode by default --- manual/regexp_quick_reference.rst | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/manual/regexp_quick_reference.rst b/manual/regexp_quick_reference.rst index 7fc9ab6996..60cd05a3b1 100644 --- a/manual/regexp_quick_reference.rst +++ b/manual/regexp_quick_reference.rst @@ -157,10 +157,11 @@ character. The most useful anchors for text processing are: not ``absurd``. ``^`` - Matches the start of the string or in multi-line mode the start of a line. + Matches the start of the start of a line (in multi-line mode, which is the + default) ``$`` - Matches the end of the string or, in multi-line mode the end of a line. + Matches the end of a line (in multi-line mode, which is the default) ``\K`` Resets the start position of the selection to its position in the pattern.