Lines Matching refs:submatch
3040 submatch({nr} [, {list}]) String or List
8042 in |:substitute|. When an optional submatch didn't match an
9722 :let [lnum, col, submatch] = searchpos('\(\l\)\|\(\u\)', 'np')
9723 < In this example "submatch" is 2 when a lowercase letter is
11055 submatch({nr} [, {list}]) *submatch()* *E935*
11058 Returns the {nr}'th submatch of the matched text. When {nr}
11064 If {list} is present and non-zero then submatch() returns
11076 :s/\d\+/\=submatch(0) + 1/
11077 :echo substitute(text, '\d\+', '\=submatch(0) + 1', '')
11082 GetNr()->submatch()
11115 \ '\=nr2char("0x" . submatch(1))', 'g')
11122 |submatch()| returns. Example: >