vimscript 正则小记

环视

:help /\@=
:help /\@!
:help /\@<=
:help /\@<!
/\vtarget(patten)@=
.
.
.

.? == .{0,}
+
? == .{1,}

正则匹配
match 命中测试
matchstr 不分组
matchlist 分组 matchlist(input,pattern)[gorupNumber]

posted @ 2023-01-29 02:10  马肯尼煤牙巴骨  阅读(54)  评论(1)    收藏  举报