Mercurial > vim
comparison runtime/doc/pattern.txt @ 13482:9eebe457eb3c
Update runtime files. Convert a couple of help files to utf-8.
commit https://github.com/vim/vim/commit/98ef233e14faaaf42e0342da1803d493ce0337b2
Author: Bram Moolenaar <Bram@vim.org>
Date: Sun Mar 18 14:44:37 2018 +0100
Update runtime files. Convert a couple of help files to utf-8.
author | Christian Brabandt <cb@256bit.org> |
---|---|
date | Sun, 18 Mar 2018 15:00:07 +0100 |
parents | 167a030448fa |
children | 1174611ad715 |
comparison
equal
deleted
inserted
replaced
13481:cd85b03c9fe2 | 13482:9eebe457eb3c |
---|---|
1 *pattern.txt* For Vim version 8.0. Last change: 2018 Feb 04 | 1 *pattern.txt* For Vim version 8.0. Last change: 2018 Mar 13 |
2 | 2 |
3 | 3 |
4 VIM REFERENCE MANUAL by Bram Moolenaar | 4 VIM REFERENCE MANUAL by Bram Moolenaar |
5 | 5 |
6 | 6 |
1164 NOTE: The other backslash codes mentioned above do not work inside | 1164 NOTE: The other backslash codes mentioned above do not work inside |
1165 []! | 1165 []! |
1166 - Matching with a collection can be slow, because each character in | 1166 - Matching with a collection can be slow, because each character in |
1167 the text has to be compared with each character in the collection. | 1167 the text has to be compared with each character in the collection. |
1168 Use one of the other atoms above when possible. Example: "\d" is | 1168 Use one of the other atoms above when possible. Example: "\d" is |
1169 much faster than "[0-9]" and matches the same characters. | 1169 much faster than "[0-9]" and matches the same characters. However, |
1170 the new |NFA| regexp engine deals with this better than the old one. | |
1170 | 1171 |
1171 */\%[]* *E69* *E70* *E369* | 1172 */\%[]* *E69* *E70* *E369* |
1172 \%[] A sequence of optionally matched atoms. This always matches. | 1173 \%[] A sequence of optionally matched atoms. This always matches. |
1173 It matches as much of the list of atoms it contains as possible. Thus | 1174 It matches as much of the list of atoms it contains as possible. Thus |
1174 it stops at the first atom that doesn't match. For example: > | 1175 it stops at the first atom that doesn't match. For example: > |