]>
git.madduck.net Git - etc/vim.git/blobdiff - doc/explainpat.txt
madduck's git repository
Every one of the projects in this repository is available at the canonical
URL git://git.madduck.net/madduck/pub/<projectpath> — see
each project's metadata for the exact URL.
All patches and comments are welcome. Please squash your changes to logical
commits before using git-format-patch and git-send-email to
patches@ git. madduck. net .
If you'd read over the Git project's submission guidelines and adhered to them,
I'd be especially grateful.
SSH access, as well as push access can be individually
arranged .
If you use my repositories frequently, consider adding the following
snippet to ~/.gitconfig and using the third clone URL listed for each
project:
[url "git://git.madduck.net/madduck/"]
insteadOf = madduck:
*explainpat.txt* Give detailed help on a regexp pattern.
*explainpat.txt* Give detailed help on a regexp pattern.
- For Vim version 7.0. Last change: 2017 Oct 20
+ For Vim version 7.0. Last change: 2017 Dec 15
By Andy Wokula <anwoku@yahoo.de>
*explainpat* *explainpat.vim*
By Andy Wokula <anwoku@yahoo.de>
*explainpat* *explainpat.vim*
a explain pattern from register a
etc.
a explain pattern from register a
etc.
+>
+ :ExplainPattern \C^\%(\\\%(@<\|%#=\|%[dxouU[(^$V#<>]\=\|z[1-9se(]\|@[>=!]\|_[[^$.]\=\|.\)\|.\)
+
Notes:
The pattern is first converted into a purely |magic| pattern using
|nwo#magic#MakeMagic()|. This means that embedded |/\V| |/\M| |/\m| |/\v|
Notes:
The pattern is first converted into a purely |magic| pattern using
|nwo#magic#MakeMagic()|. This means that embedded |/\V| |/\M| |/\m| |/\v|
==============================================================================
TODO:
==============================================================================
TODO:
+? `\%[...]` can be nested? But documentation |/\%[]| says no.
Ideas:
- If the user already knows regular expressions but of a different kind,
Ideas:
- If the user already knows regular expressions but of a different kind,
==============================================================================
History:
==============================================================================
History:
+v0.9
++ BF accept `\@123<=` and `\@123<!`
+
+v0.8
+* s:NewHelpPrinter() => explainpat#NewHelpPrinter()
+
v0.7
+ BF `\{3,4\}` not accepted, only `\{3,4}`
v0.7
+ BF `\{3,4\}` not accepted, only `\{3,4}`