RegExp.match

Search s[] for match.

  1. string match(size_t n)
  2. string[] match(string s)
    class RegExp
    string[]
    match
    (
    string s
    )

Return Value

Type: string[]

If global attribute, return same value as exec(s). If not global attribute, return array of all matches.

Meta