comparison runtime/doc/pattern.txt @ 484:f012c4ed8c38 v7.0132

updated for version 7.0132
author vimboss
date Fri, 19 Aug 2005 20:40:30 +0000
parents 66080ac5dab7
children a7ae7e043e43
comparison
equal deleted inserted replaced
483:70afa17bfc01 484:f012c4ed8c38
1 *pattern.txt* For Vim version 7.0aa. Last change: 2005 Aug 14 1 *pattern.txt* For Vim version 7.0aa. Last change: 2005 Aug 18
2 2
3 3
4 VIM REFERENCE MANUAL by Bram Moolenaar 4 VIM REFERENCE MANUAL by Bram Moolenaar
5 5
6 6
941 The same can be done by including "\n" in the collection. The 941 The same can be done by including "\n" in the collection. The
942 end-of-line is also matched when the collection starts with "^"! Thus 942 end-of-line is also matched when the collection starts with "^"! Thus
943 "\_[^ab]" matches the end-of-line and any character but "a" and "b". 943 "\_[^ab]" matches the end-of-line and any character but "a" and "b".
944 This makes it Vi compatible: Without the "\_" or "\n" the collection 944 This makes it Vi compatible: Without the "\_" or "\n" the collection
945 does not match an end-of-line. 945 does not match an end-of-line.
946 946 *E769*
947 When the ']' is not there Vim will not give an error message but 947 When the ']' is not there Vim will not give an error message but
948 assume no collection is used. Useful to search for '['. 948 assume no collection is used. Useful to search for '['. However, you
949 do get E769 for internal searching.
949 950
950 If the sequence begins with "^", it matches any single character NOT 951 If the sequence begins with "^", it matches any single character NOT
951 in the collection: "[^xyz]" matches anything but 'x', 'y' and 'z'. 952 in the collection: "[^xyz]" matches anything but 'x', 'y' and 'z'.
952 - If two characters in the sequence are separated by '-', this is 953 - If two characters in the sequence are separated by '-', this is
953 shorthand for the full list of ASCII characters between them. E.g., 954 shorthand for the full list of ASCII characters between them. E.g.,