commit bfb30f7599b666826354198c6dde81840ac1323e
parent 80788dc9db8d092437fe98a01274bb7114f365aa
Author: zeertzjq <zeertzjq@outlook.com>
Date: Thu, 29 Jan 2026 08:22:23 +0800
vim-patch:427fa3e: runtime(doc): 'ignorecase' affects character classes in the old engine
fixes: vim/vim#19230
https://github.com/vim/vim/commit/427fa3e1e4b44eb780f3ddae51b49a514530ee64
Co-authored-by: Christian Brabandt <cb@256bit.org>
Diffstat:
1 file changed, 4 insertions(+), 2 deletions(-)
diff --git a/runtime/doc/pattern.txt b/runtime/doc/pattern.txt
@@ -1152,13 +1152,15 @@ x A single character, with no special meaning, matches itself
*[:graph:]* [:graph:] isgraph ASCII printable characters excluding
space
*[:lower:]* [:lower:] (1) lowercase letters (all letters when
- 'ignorecase' is used)
+ 'ignorecase' is used and the old
+ engine is in use |two-engines|)
*[:print:]* [:print:] (2) printable characters including space
*[:punct:]* [:punct:] ispunct ASCII punctuation characters
*[:space:]* [:space:] whitespace characters: space, tab, CR,
NL, vertical tab, form feed
*[:upper:]* [:upper:] (3) uppercase letters (all letters when
- 'ignorecase' is used)
+ 'ignorecase' is used and the old
+ engine is in use |two-engines|)
*[:xdigit:]* [:xdigit:] hexadecimal digits: 0-9, a-f, A-F
*[:return:]* [:return:] the <CR> character
*[:tab:]* [:tab:] the <Tab> character