Lines Matching defs:pattern
15 static function checkRegEx(&$match, $pattern, &$arrayAffected) {
16 optionParser::preg_match_all_wrapper($pattern, $match, $found);
27 * @param string $pattern The pattern which activate the option
31 static function checkOption(&$match, $pattern, &$varAffected, $valIfFound) {
32 if(optionParser::preg_match_wrapper($pattern, $match, $found)) {
155 static private function preg_match_wrapper($pattern, $subject, &$matches){
156 return preg_match('/\s-' . $pattern . '/i', $subject, $matches);
159 static private function preg_match_all_wrapper($pattern, $subject, &$matches){
160 return preg_match_all('/\s-' . $pattern . '/i', $subject, $matches, PREG_SET_ORDER);