Extracted from Pike v8.0 release 28 as of 2015-08-03.
   

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