mirror of
https://github.com/neovim/neovim.git
synced 2024-12-24 13:15:09 -07:00
9d170a493e
Without the groupings, only the first alternation matches the diff marker. For example, local na_doc='todo\.txt\|version\d\.txt\|tags' ... +'g^diff --git a/runtime/doc/'${na_doc}'... becomes, after expansion, ... +'g^diff --git a/runtime/doc/todo\.txt\|version\d\.txt\|tags'... so the matches become "^diff --get a/runtime/doc/todo\.txt", "version\d\.txt", or "tags". Adding the grouping ensures the expected behavior of requiring "^diff --get a/runtime/doc/" before every filename. |
||
---|---|---|
.. | ||
download-unicode-files.sh | ||
finddeclarations.pl | ||
gen_events.lua | ||
gendeclarations.lua | ||
gendispatch.lua | ||
geneval.lua | ||
genex_cmds.lua | ||
genoptions.lua | ||
genunicodetables.lua | ||
genvimvim.lua | ||
git-log-pretty-since.sh | ||
legacy2luatest.pl | ||
movedocs.pl | ||
release.sh | ||
run-api-tests.exp | ||
shadacat.py | ||
stripdecls.py | ||
vim-patch.sh |