comparison runtime/doc/pattern.txt @ 6180:6921742f396a

Update runtime files.
author Bram Moolenaar <bram@vim.org>
date Fri, 29 Aug 2014 15:12:19 +0200
parents 1e8ebf870720
children 37c24033b260
comparison
equal deleted inserted replaced
6179:6974b4b3c769 6180:6921742f396a
1 *pattern.txt* For Vim version 7.4. Last change: 2014 Jul 30 1 *pattern.txt* For Vim version 7.4. Last change: 2014 Aug 29
2 2
3 3
4 VIM REFERENCE MANUAL by Bram Moolenaar 4 VIM REFERENCE MANUAL by Bram Moolenaar
5 5
6 6
827 < matches an "if" at the start of a line, ignoring white space. 827 < matches an "if" at the start of a line, ignoring white space.
828 Can be used multiple times, the last one encountered in a matching 828 Can be used multiple times, the last one encountered in a matching
829 branch is used. Example: > 829 branch is used. Example: >
830 /\(.\{-}\zsFab\)\{3} 830 /\(.\{-}\zsFab\)\{3}
831 < Finds the third occurrence of "Fab". 831 < Finds the third occurrence of "Fab".
832 This cannot be followed by a multi. *E888*
832 {not in Vi} {not available when compiled without the |+syntax| feature} 833 {not in Vi} {not available when compiled without the |+syntax| feature}
833 */\ze* 834 */\ze*
834 \ze Matches at any position, and sets the end of the match there: The 835 \ze Matches at any position, and sets the end of the match there: The
835 previous char is the last char of the whole match. |/zero-width| 836 previous char is the last char of the whole match. |/zero-width|
836 Can be used multiple times, the last one encountered in a matching 837 Can be used multiple times, the last one encountered in a matching
837 branch is used. 838 branch is used.
838 Example: "end\ze\(if\|for\)" matches the "end" in "endif" and 839 Example: "end\ze\(if\|for\)" matches the "end" in "endif" and
839 "endfor". 840 "endfor".
841 This cannot be followed by a multi. *E888*
840 {not in Vi} {not available when compiled without the |+syntax| feature} 842 {not in Vi} {not available when compiled without the |+syntax| feature}
841 843
842 */\%^* *start-of-file* 844 */\%^* *start-of-file*
843 \%^ Matches start of the file. When matching with a string, matches the 845 \%^ Matches start of the file. When matching with a string, matches the
844 start of the string. {not in Vi} 846 start of the string. {not in Vi}