diff options
author | Jan Edmund Lazo <jan.lazo@mail.utoronto.ca> | 2020-07-24 19:53:07 -0400 |
---|---|---|
committer | Jan Edmund Lazo <jan.lazo@mail.utoronto.ca> | 2020-08-02 12:00:02 -0400 |
commit | 1123a979d06d66f0bf4ab8684829a64832986a25 (patch) | |
tree | ff461fffce6150fa809cddc6b6e88f17cb3a972d /runtime | |
parent | 0393eec3ea4534f8ff195848389568462f6f5e63 (diff) | |
download | rneovim-1123a979d06d66f0bf4ab8684829a64832986a25.tar.gz rneovim-1123a979d06d66f0bf4ab8684829a64832986a25.tar.bz2 rneovim-1123a979d06d66f0bf4ab8684829a64832986a25.zip |
vim-patch:8.1.0862: no verbose version of character classes
Problem: No verbose version of character classes.
Solution: Add [:ident:], [:keyword:] and [:fname:]. (Ozaki Kiichi,
closes vim/vim#1373)
https://github.com/vim/vim/commit/221cd9f4dd866503777b2fffa721c1403716ad63
Diffstat (limited to 'runtime')
-rw-r--r-- | runtime/doc/pattern.txt | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/runtime/doc/pattern.txt b/runtime/doc/pattern.txt index adfab07758..7129c6cd58 100644 --- a/runtime/doc/pattern.txt +++ b/runtime/doc/pattern.txt @@ -1111,6 +1111,9 @@ x A single character, with no special meaning, matches itself *[:tab:]* [:tab:] the <Tab> character *[:escape:]* [:escape:] the <Esc> character *[:backspace:]* [:backspace:] the <BS> character +*[:ident:]* [:ident:] identifier character (same as "\i") +*[:keyword:]* [:keyword:] keyword character (same as "\k") +*[:fname:]* [:fname:] file name character (same as "\f") The brackets in character class expressions are additional to the brackets delimiting a collection. For example, the following is a plausible pattern for a Unix filename: "[-./[:alnum:]_~]\+" That is, |