]>
git.madduck.net Git - etc/vim.git/commitdiff
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:
summary |
shortlog |
log |
commit | commitdiff |
tree
raw |
patch |
inline | side by side (from parent 1:
1f1ec25 )
" File: explainpat.vim
" Created: 2011 Nov 02
" File: explainpat.vim
" Created: 2011 Nov 02
-" Last Change: 2013 Dec 3 0
-" Rev Days: 12
+" Last Change: 2017 Oct 2 0
+" Version: 0.7
" Author: Andy Wokula <anwoku@yahoo.de>
" License: Vim License, see :h license
" Author: Andy Wokula <anwoku@yahoo.de>
" License: Vim License, see :h license
" Implements :ExplainPattern [pattern]
" Implements :ExplainPattern [pattern]
" let s:doc['\{-'] = "(multi) N to M, non-greedy"
func! s:DocBraceMulti(bull, hulit, item) "{{{
" let s:doc['\{-'] = "(multi) N to M, non-greedy"
func! s:DocBraceMulti(bull, hulit, item) "{{{
- let rest = a:bull.Bite('^-\=\d*\%(,\d*\)\=}')
+ let rest = a:bull.Bite('^-\=\d*\%(,\d*\)\=\\\= }')
if rest != ""
if rest == '-}'
call a:hulit.Print(a:item. rest, "non-greedy version of `*'")
if rest != ""
if rest == '-}'
call a:hulit.Print(a:item. rest, "non-greedy version of `*'")
*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: 2013 Jun 29
+ For Vim version 7.0. Last change: 2017 Oct 20
By Andy Wokula <anwoku@yahoo.de>
*explainpat* *explainpat.vim*
By Andy Wokula <anwoku@yahoo.de>
*explainpat* *explainpat.vim*
==============================================================================
History:
==============================================================================
History:
+v0.7
++ BF `\{3,4\}` not accepted, only `\{3,4}`
+
v0.6
+ BF `[]` is a literal string (not a collection)
v0.6
+ BF `[]` is a literal string (not a collection)
-com! -nargs=* ExplainPattern call explainpat#ExplainPattern(<q-args>)
+com! -nargs=? ExplainPattern call explainpat#ExplainPattern(<q-args>)
" Modeline: {{{1
" vim:ts=8:fdm=marker:
" Modeline: {{{1
" vim:ts=8:fdm=marker: