Home
last modified time | relevance | path

Searched refs:preg_match (Results 1 – 25 of 98) sorted by relevance

1234

/template/mikio/inc/
H A Dpolyfill-ctype.php12 return preg_match('/^[a-zA-Z0-9]+$/', $var);
18 return preg_match('/^[a-zA-Z]+$/', $var);
24 return preg_match('/^[\x00-\x1F\x7F]+$/', $var);
30 return preg_match('/^[0-9]+$/', $var);
36 return preg_match('/^[\x20-\x7E\x80-\xFF]+$/', $var);
42 return preg_match('/^[a-z]+$/', $var);
48 return preg_match('/^[\x20-\x7E\x80-\xFF]+$/', $var);
54 return preg_match('/^[^\w\s]+$/', $var);
60 return preg_match('/^[\r\t\n]+$/', $var);
66 return preg_match('/^[A-Z]+$/', $var);
[all …]
/template/strap/vendor/symfony/polyfill-ctype/
H A DCtype.php36 return \is_string($text) && '' !== $text && !preg_match('/[^A-Za-z0-9]/', $text);
52 return \is_string($text) && '' !== $text && !preg_match('/[^A-Za-z]/', $text);
68 return \is_string($text) && '' !== $text && !preg_match('/[^\x00-\x1f\x7f]/', $text);
84 return \is_string($text) && '' !== $text && !preg_match('/[^0-9]/', $text);
100 return \is_string($text) && '' !== $text && !preg_match('/[^!-~]/', $text);
116 return \is_string($text) && '' !== $text && !preg_match('/[^a-z]/', $text);
132 return \is_string($text) && '' !== $text && !preg_match('/[^ -~]/', $text);
148 return \is_string($text) && '' !== $text && !preg_match('/[^!-\/\:-@\[-`\{-~]/', $text);
164 return \is_string($text) && '' !== $text && !preg_match('/[^\s]/', $text);
180 return \is_string($text) && '' !== $text && !preg_match('/[^A-Z]/', $text);
[all …]
/template/twigstarter/vendor/symfony/polyfill-ctype/
DCtype.php36 return \is_string($text) && '' !== $text && !preg_match('/[^A-Za-z0-9]/', $text);
52 return \is_string($text) && '' !== $text && !preg_match('/[^A-Za-z]/', $text);
68 return \is_string($text) && '' !== $text && !preg_match('/[^\x00-\x1f\x7f]/', $text);
84 return \is_string($text) && '' !== $text && !preg_match('/[^0-9]/', $text);
100 return \is_string($text) && '' !== $text && !preg_match('/[^!-~]/', $text);
116 return \is_string($text) && '' !== $text && !preg_match('/[^a-z]/', $text);
132 return \is_string($text) && '' !== $text && !preg_match('/[^ -~]/', $text);
148 return \is_string($text) && '' !== $text && !preg_match('/[^!-\/\:-@\[-`\{-~]/', $text);
164 return \is_string($text) && '' !== $text && !preg_match('/[^\s]/', $text);
180 return \is_string($text) && '' !== $text && !preg_match('/[^A-Z]/', $text);
[all …]
/template/strap/vendor/dragonmantank/cron-expression/src/Cron/
H A DDayOfMonthField.php117 if ((bool) preg_match('/^\d{1,2}$/', $value) && ($value >= 1 && $value <= 31)) {
122 if ((bool) preg_match('/-/', $value)) {
124 if ((bool) preg_match('/,/', $value)) {
139 if ((bool) preg_match('/,/', $value)) {
141 if ((bool) preg_match('/-/', $value)) {
156 if ((bool) preg_match('/\//', $value)) {
167 if ((bool) preg_match('/^\d{1,2}W$/', $value)) {
/template/navigator/navigator/
H A DautolistNavigator.php59 if (preg_match('/[\'’]$/u', $article)) {
62 if (preg_match($pattern, $lower)) {
70 if (preg_match($pattern, $lower)) {
87 if (!preg_match('/\:start$/', $cleanID)) return;
122 if (preg_match('/(?:^|&)order=oldest(?:&|$)/', $query)) {
124 } elseif (preg_match('/(?:^|&)order=alpha(?:&|$)/', $query)) {
H A Dtpl_functions.php58 if (preg_match('/(?:^|&)order=oldest(?:&|$)/', $query)) {
60 } elseif (preg_match('/(?:^|&)order=alpha(?:&|$)/', $query)) {
/template/twigstarter/vendor/twig/twig/src/
DLexer.php283 … if (preg_match($this->regexes['lex_block_raw'], $this->code, $match, 0, $this->cursor)) {
287 … } elseif (preg_match($this->regexes['lex_block_line'], $this->code, $match, 0, $this->cursor)) {
307 …if (!$this->brackets && preg_match($this->regexes['lex_block'], $this->code, $match, 0, $this->cur…
318 …if (!$this->brackets && preg_match($this->regexes['lex_var'], $this->code, $match, 0, $this->curso…
330 if (preg_match('/\s+/A', $this->code, $match, 0, $this->cursor)) {
339 if (preg_match($this->regexes['operator'], $this->code, $match, 0, $this->cursor)) {
348 elseif (preg_match(self::REGEX_NAME, $this->code, $match, 0, $this->cursor)) {
353 elseif (preg_match(self::REGEX_NUMBER, $this->code, $match, 0, $this->cursor)) {
364 elseif (preg_match(self::REGEX_STRING, $this->code, $match, 0, $this->cursor)) {
369 elseif (preg_match(self::REGEX_DQ_STRING_DELIM, $this->code, $match, 0, $this->cursor)) {
[all …]
/template/strap/vendor/symfony/yaml/
H A DInline.php194 case Parser::preg_match('{^[0-9]+[_0-9]*$}', $value):
195 case Parser::preg_match(self::getHexRegex(), $value):
196 case Parser::preg_match(self::getTimestampRegex(), $value):
293 if (Parser::preg_match('/[ \t]+#/', $output, $match, \PREG_OFFSET_CAPTURE)) {
296 …} elseif (Parser::preg_match('/^(.*?)('.implode('|', $delimiters).')/', substr($scalar, $i), $matc…
324 if (!Parser::preg_match('/'.self::REGEX_QUOTED_STRING.'/Au', substr($scalar, $i), $match)) {
388 …&& \is_string($value) && '' !== $value && '&' === $value[0] && Parser::preg_match(Parser::REFERENC…
530 …&& \is_string($value) && '' !== $value && '&' === $value[0] && Parser::preg_match(Parser::REFERENC…
652 case preg_match('/^(?:\+|-)?0o(?P<value>[0-7_]++)$/', $scalar, $matches):
661 if (Parser::preg_match('{^[+-]?[0-9][0-9_]*$}', $scalar)) {
[all …]
H A DEscaper.php55 return 0 < preg_match('/'.self::REGEX_CHARACTER_TO_ESCAPE.'/u', $value);
83 …return 0 < preg_match('/[ \s \' " \: \{ \} \[ \] , & \* \# \?] | \A[ \- ? | < > = ! % @ ` \p{Zs}]/…
/template/kajukkk/
DSnoopy.class.php165 … if(preg_match("|^http://".preg_quote($this->host)."|i",$this->_redirectaddr) || $this->offsiteok)
225 … if(preg_match("|^http://".preg_quote($this->host)."|i",$this->_redirectaddr) || $this->offsiteok)
316 if(!preg_match("|^".$URI_PARTS["scheme"]."://|", $this->_redirectaddr))
320 … if(preg_match("|^http://".preg_quote($this->host)."|i",$this->_redirectaddr) || $this->offsiteok)
383 if(!preg_match("|^".$URI_PARTS["scheme"]."://|", $this->_redirectaddr))
387 … if(preg_match("|^http://".preg_quote($this->host)."|i",$this->_redirectaddr) || $this->offsiteok)
741 preg_match("/^[^\?]+/",$URI,$match);
861 if(preg_match("/^(Location:|URI:)/i",$currentHeader))
864 preg_match("/^(Location:|URI:)[ ]+(.*)/i",chop($currentHeader),$matches);
866 if(!preg_match("|\:\/\/|",$matches[2]))
[all …]
/template/comicslate/
Dmain.php3 $comic = preg_match ( '/:(sci-fi|tlk|wolves|mlp|furry|gamer|other|interrobang):/', $NS );
4 $bands = preg_match ( '/:[dh]\d+$/', $ID );
5 $index = preg_match ( '/:index$/', $ID );
49 if ( preg_match ( '/(h[ei]|ko|ja|zh)/', $conf [ "lang" ] ) ) echo $t2 . '<link rel = "preload" hre…
/template/strap/ComboStrap/
H A DStringUtility.php214 $preg_match = preg_match("/^[\w\-'\]\[,]*$/u", $text);
215 return $preg_match == 1;
220 return preg_match("/$pattern/", $subject) === 1;
H A DMarkupRef.php94 if (preg_match('<' . $emailPattern . '>', $ref)) {
120 if (preg_match('#^([a-z0-9\-.+]+?)://#i', $ref)) {
176 if (preg_match('/^\\\\\\\\[^\\\\]+?\\\\/u', $ref)) {
185 if (preg_match('/^#.?/', $ref)) {
200 if (preg_match('/^[a-zA-Z0-9.]+>/u', $ref)) {
531 if (preg_match('/^([0-9]+)(?:x([0-9]+))?/', $token, $sizing)) {
546 $found = preg_match('/^(nolink|direct|linkonly|details)/i', $token, $matches);
561 $found = preg_match('/^(' . $noCacheValue . ')/i', $token, $matches);
H A DArrayUtility.php32 if (preg_match('/date|created|modified/i', $key) && is_numeric($value)) {
52 if (preg_match('/' . $pattern . '/i', $key)) {
H A DInterWiki.php115 if (preg_match('#{URL}#', $interWikiUrlTemplate)) {
127 if (preg_match('#{NAME}#', $interWikiUrlTemplate)) {
144 if (preg_match('#{(SCHEME|HOST|PORT|PATH|QUERY)}#', $interWikiUrlTemplate)) {
H A DUnit.php28 if (!preg_match('/^(\d+?(\.\d*)?)(in|em|ex|px|pt|pc|cm|mm)?$/', $value, $m)) return 0;
/template/wallpaper/
Dtpl_functions.php109 if($item['id'] == $start or preg_match('/:'.$start.'$/',$item['id'])
110 or preg_match('/(\w+):\1$/',$item['id'])) {
188 if(preg_match('/^\s+\*/', $line)) {
207 if(!preg_match('/\s*\[\[[^\]]+\]\]/', $tmparr[1])) {
/template/khum1/
Dmain.php115 if ( preg_match('/^childrenpages_/', $item->getType()) ) {
174 if ( ! preg_match('/^childrenpages_/', $item->getType()) ) {
/template/dokubrick/
Dtpl_functions.php75 …if(!preg_match("/^".$user_ns.":.*?$|^".$group_ns.":.*?$/", $svID)) { // skip group/user sidebars a…
96 if(preg_match('/'.$user_ns.':'.$user.':.*/', $svID)) {
246 preg_match('/<h1>.*?<\/h1>/', p_locale_xhtml('index'), $match);
/template/peanutbutter/
Dtpl_functions.php61 if($item['id'] == $start or preg_match('/:'.$start.'$/',$item['id'])
62 or preg_match('/(\w+):\1$/',$item['id'])) {
/template/monochrome/
Dtpl_functions.php58 if($item['id'] == $start or preg_match('/:'.$start.'$/',$item['id'])
59 or preg_match('/(\w+):\1$/',$item['id'])) {
/template/peanutbutter2/
Dtpl_functions.php61 if($item['id'] == $start or preg_match('/:'.$start.'$/',$item['id'])
62 or preg_match('/(\w+):\1$/',$item['id'])) {
/template/strap/vendor/salesforce/handlebars-php/src/Handlebars/
H A DHelpers.php551 preg_match("/(.*?)\s+(?:(?:\"|\')(.*?)(?:\"|\'))/", $args, $m);
583preg_match("/(.*?)\s+(?:(?:\"|\')(.*?)(?:\"|\'))\s+(?:(?:\"|\')(.*?)(?:\"|\'))/", $args, $m);
607 preg_match("/(.*?)\s+(?:(?:\"|\')(.*?)(?:\"|\'))/", trim($args), $m);
629 preg_match("/(.*?)\s+(.*?)\s+(?:(?:\"|\')(.*?)(?:\"|\'))/", trim($args), $m);
767 preg_match("/^([\w\._\-]+)(?:\[([\-0-9]*?:[\-0-9]*?)\])?/i", $string, $m);
/template/twigstarter/vendor/twig/twig/src/Runtime/
DEscaperRuntime.php190 if (!preg_match('//u', $string)) {
242 if (!preg_match('//u', $string)) {
264 if (!preg_match('//u', $string)) {
/template/twigstarter/vendor/twig/twig/src/ExpressionParser/Infix/
DDotExpressionParser.php55 … || ($token->test(Token::OPERATOR_TYPE) && preg_match(Lexer::REGEX_NAME, $token->getValue()))
72 && preg_match('#^[a-zA-Z_\x7f-\xff][a-zA-Z0-9_\x7f-\xff]*$#D', $name)

1234