/** * test isRegexWithInvalid * * @return void */ public function testIsRegexWithInvalid() { $this->assertFalse(SeoUtil::isRegEx('invalid')); }
/** * Return if the incoming URI is a regular expression * * @param string $uri * @return boolean if is regular expression (as two # marks) */ public function isRegEx($uri) { return SeoUtil::isRegEx($uri); }