Searched refs:matchRegex (Results 1 – 2 of 2) sorted by relevance
/plugin/ifauthex/lib/ |
H A D | tokenizer.php | 24 function mb_preg_match($text, $matchRegex, $position=0) { argument 26 list($matchRegex, $matchRegexOptions) = mb_preg_adapt_regex($matchRegex); 31 $result = mb_ereg_search_pos($matchRegex, $matchRegexOptions); 42 function sb_preg_match($text, $matchRegex, $position=0) { argument 44 $result = preg_match($matchRegex, $text, $matches, PREG_OFFSET_CAPTURE, $position); 66 public function __construct($representation, $name=null, $matchRegex=null) { argument 72 if ($matchRegex === null) { 75 $matchRegex = '/' . preg_quote($representation) . '/'; 77 $this->_matchRegex = $matchRegex;
|
/plugin/revealjs/plugin/search/ |
H A D | search.js | 28 var matchRegex = ""; 34 matchRegex = new RegExp("(" + input + ")","i"); 39 return matchRegex.toString().replace(/^\/\\b\(|\)\\b\/i$/g, "").replace(/\|/g, " "); 46 if(!matchRegex) return; 54 if((nv = node.nodeValue) && (regs = matchRegex.exec(nv))) {
|