Syntax
match(regexp, string)
Description
The function match() returns a string holding the text of the leftmost match of the regular expression. A return value of NULL indicates no match.
Example
if (match("^foo", "foobar")) { println("A match") } else { println("No match") } A match