From 203218297c13725391d59c9ba046c8686a147e34 Mon Sep 17 00:00:00 2001 From: dNItro Date: Thu, 21 Jan 2016 03:28:19 -0800 Subject: [PATCH] More detailed documentation on multiline option --- doc/UltiSnips.txt | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/doc/UltiSnips.txt b/doc/UltiSnips.txt index 5a0ad6b..b9b9ad9 100644 --- a/doc/UltiSnips.txt +++ b/doc/UltiSnips.txt @@ -1236,9 +1236,12 @@ The options can be any combination of > By default, regular expression matching is case sensitive. With this option, matching is done without regard to case. m - multiline - By default, if you select multiple lines, transformations are made - on them entirely as a whole single line string. With this option you - can work with multi line strings. + By default, the '^' and '$' special characters only apply to the + start and end of the entire string; so if you select multiple lines, + transformations are made on them entirely as a whole single line + string. With this option, '^' and '$' special characters match the + start or end of any line within a string ( separated by newline + character - '\n' ). a - ascii conversion By default, transformation are made on the raw utf-8 string. With this option, matching is done on the corresponding ASCII string