Mercurial > vim
diff runtime/doc/autocmd.txt @ 5259:6b7ab6a4f31a v7.4b.006
updated for version 7.4b.006
Problem: Using \{n,m} in an autocommand pattern no longer works.
Specifically, mutt temp files are not recognized. (Gary Johnson)
Solution: Make \\\{n,m\} work.
author | Bram Moolenaar <bram@vim.org> |
---|---|
date | Fri, 02 Aug 2013 15:22:39 +0200 |
parents | 09c88160095d |
children | 42bf9264e64e |
line wrap: on
line diff
--- a/runtime/doc/autocmd.txt +++ b/runtime/doc/autocmd.txt @@ -961,6 +961,9 @@ The pattern is interpreted like mostly u \, matches a ',' { } like \( \) in a |pattern| , inside { }: like \| in a |pattern| + \} literal } + \{ literal { + \\\{n,m\} like \{n,m} in a |pattern| \ special meaning like in a |pattern| [ch] matches 'c' or 'h' [^ch] match any character but 'c' and 'h'