Extracted from Pike v8.0 release 358 as of 2016-11-23.
   

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