Method Regexp.PCRE.Plain()->match()


Method match

bool match(string subject, void|int startoffset)

Description

returns true (1) if a match is found, false otherwise

example:

> Regexp.PCRE.Plain("is fun")->match("pike is fun");
Result: 1
> Regexp.PCRE.Plain("is fun")->match("pike isn't fun");
Result: 0