re_match [function]

re_match( string str, string pattern, int flags = 0, int offset = 0 )

check for matches in string str for pattern, returning whether a match was found or details of the first match, as specified in flags