" ingo/regexp/multi.vim: Functions around pattern multiplicity. " " DEPENDENCIES: " " Copyright: (C) 2018 Ingo Karkat " The VIM LICENSE applies to this script; see ':help copyright'. " " Maintainer: Ingo Karkat function! ingo#regexp#multi#Expr() "****************************************************************************** "* PURPOSE: " REturn a regular expression that matches any multi. "* ASSUMPTIONS / PRECONDITIONS: " None. "* EFFECTS / POSTCONDITIONS: " None. "* INPUTS: " None. "* RETURN VALUES: " Regular expression. "****************************************************************************** return '\%(\%(^\|[^\\]\)\%(\\\\\)*\\\)\@\|=\|!\|<=\|