Method Regexp.PCRE2.Plain()->match()
classRegexp.PCRE2.Plain
- Method
match
boolmatch(stringsubject,void|intstartoffset,MatchContext|function(CalloutBlock:int)|voidcontext)- Description
returns true (1) if a match is found, false otherwise
example:
> Regexp.PCRE2.Plain("is fun")->match("pike is fun"); Result: 1 > Regexp.PCRE2.Plain("is fun")->match("pike isn't fun"); Result: 0