X-Git-Url: https://git.madduck.net/etc/vim.git/blobdiff_plain/1f1ec255b080e74de602667e8b6285a638efb5ec..30cfa267832b84f0cd9615edd3007c06a3b00cfa:/autoload/explainpat.vim diff --git a/autoload/explainpat.vim b/autoload/explainpat.vim index 6c65567..5662732 100644 --- a/autoload/explainpat.vim +++ b/autoload/explainpat.vim @@ -1,10 +1,9 @@ " File: explainpat.vim " Created: 2011 Nov 02 -" Last Change: 2013 Dec 30 -" Rev Days: 12 +" Last Change: 2017 Oct 20 +" Version: 0.7 " Author: Andy Wokula " License: Vim License, see :h license -" Version: 0.7 " Implements :ExplainPattern [pattern] @@ -167,7 +166,7 @@ let s:doc['\?'] = "(multi) zero or one of the preceding atom" " 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 `*'")