method match, matchW

LuaFAR 3

method match, matchW


c1 [,c2 ...] = regex_object:match (subj [, init])

Parameters:
  subj   :  string
  init   :  integer (default=1; can be negative)

Returns:
  c1,... : strings (there can be false in place of captures
                    not participated in the match)

Note:
regex_object:matchW receives its 1-st argument and returns captures
in UTF-16LE encoding.

Far API used:
  RegExpControl