Lines Matching defs:match

15     static function checkRegEx(&$match, $pattern, &$arrayAffected) {
16 optionParser::preg_match_all_wrapper($pattern, $match, $found);
19 $match = optionParser::_removeFromMatch($regex[0], $match);
26 * @param string $match The string match by the plugin
31 static function checkOption(&$match, $pattern, &$varAffected, $valIfFound) {
32 if(optionParser::preg_match_wrapper($pattern, $match, $found)) {
34 $match = optionParser::_removeFromMatch($found[0], $match);
38 static function checkRecurse(&$match, &$varAffected){
39 if(optionParser::preg_match_wrapper('r *=? *\"?([[:digit:]]*)\"?', $match, $found)) {
45 $match = optionParser::_removeFromMatch($found[0], $match);
49 static function checkNbColumns(&$match, &$varAffected){
50 if(optionParser::preg_match_wrapper("nb?Cols? *=? *\"?([[:digit:]]*)\"?", $match, $found)) {
54 $match = optionParser::_removeFromMatch($found[0], $match);
58 static function checkNbItemsMax(&$match, &$varAffected){
59 if(optionParser::preg_match_wrapper("nb?Items?Max *=? *\"?([[:digit:]]*)\"?", $match, $found)) {
63 $match = optionParser::_removeFromMatch($found[0], $match);
67 static function checkAnchorName(&$match, &$varAffected){
68 if(optionParser::preg_match_wrapper("anchorName *=? *\"?([[:alnum:]]+)\"?", $match, $found)) {
70 $match = optionParser::_removeFromMatch($found[0], $match);
74 static function checkSimpleStringArgument(&$match, &$varAffected, $plugin, $argumentName){
75 if(optionParser::preg_match_wrapper($argumentName . " *= *\"([^\"]*)\"", $match, $found)) {
77 $match = optionParser::_removeFromMatch($found[0], $match);
83 static function checkDictOrder(&$match, &$varAffected, $plugin){
84 if(optionParser::preg_match_wrapper("dict(?:ionary)?Order *= *\"([^\"]*)\"", $match, $found)) {
86 $match = optionParser::_removeFromMatch($found[0], $match);
92 static function checkExclude(&$match, &$excludedPages, &$excludedNs, &$excludeSelfPage){
94 if(optionParser::preg_match_wrapper("exclude:\[(.*)\]", $match, $found)) {
95 $match = optionParser::_removeFromMatch($found[0], $match);
100 optionParser::preg_match_all_wrapper("exclude:([^[ <>]*):", $match, $found);
103 $match = optionParser::_removeFromMatch($subns[0], $match);
107 optionParser::preg_match_all_wrapper("exclude:([^[ <>]*)", $match, $found);
110 $match = optionParser::_removeFromMatch($page[0], $match);
114 if(optionParser::preg_match_wrapper("exclude", $match, $found)) {
116 $match = optionParser::_removeFromMatch($found[0], $match);
140 static function checkActualTitle(&$match, &$varAffected){
142 if ( optionParser::preg_match_wrapper("actualTitle *= *([[:digit:]])", $match, $found) ){
145 } else if ( optionParser::preg_match_wrapper("actualTitle", $match, $found) ){
151 $match = optionParser::_removeFromMatch($found[0], $match);
163 static private function _removeFromMatch($matched, $match){
167 return preg_replace($regex, ' ', $match);