Home
last modified time | relevance | path

Searched refs:preg_match (Results 1 – 25 of 88) 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/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/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/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/twigstarter/vendor/twig/twig/src/
DLexer.php252 … if (preg_match($this->regexes['lex_block_raw'], $this->code, $match, 0, $this->cursor)) {
256 … } elseif (preg_match($this->regexes['lex_block_line'], $this->code, $match, 0, $this->cursor)) {
276 …if (empty($this->brackets) && preg_match($this->regexes['lex_block'], $this->code, $match, 0, $thi…
287 …if (empty($this->brackets) && preg_match($this->regexes['lex_var'], $this->code, $match, 0, $this-…
299 if (preg_match('/\s+/A', $this->code, $match, 0, $this->cursor)) {
313 elseif (preg_match($this->regexes['operator'], $this->code, $match, 0, $this->cursor)) {
318 elseif (preg_match(self::REGEX_NAME, $this->code, $match, 0, $this->cursor)) {
323 elseif (preg_match(self::REGEX_NUMBER, $this->code, $match, 0, $this->cursor)) {
353 elseif (preg_match(self::REGEX_STRING, $this->code, $match, 0, $this->cursor)) {
358 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}]/…
H A DParser.php83 if (false === preg_match('//u', $value)) {
161 …if ('-' === $this->currentLine[0] && self::preg_match('#^\-((?P<leadspaces>\s+)(?P<value>.+))?$#u'…
167 …if (isset($values['value']) && '&' === $values['value'][0] && self::preg_match(self::REFERENCE_PAT…
199 …|| self::preg_match('#^(?P<key>'.Inline::REGEX_QUOTED_STRING.'|[^ \'"\{\[].*?) *\:(\s+(?P<value>.+…
218 …self::preg_match('#^(?P<key>(?:![^\s]++\s++)?(?:'.Inline::REGEX_QUOTED_STRING.'|(?:!?!php/const:)?…
244 … && (!isset($values['value']) || '&' !== $values['value'][0] || !self::preg_match('#^&(?P<ref>[^ ]…
305 …key && isset($values['value']) && '&' === $values['value'][0] && self::preg_match(self::REFERENCE_…
741 …if (\in_array($value[0], ['!', '|', '>'], true) && self::preg_match('/^(?:'.self::TAG_PATTERN.' +)…
865 self::preg_match($pattern, $this->currentLine, $matches)
1082 …public static function preg_match(string $pattern, string $subject, array &$matches = null, int $f… function in Symfony\\Component\\Yaml\\Parser
[all …]
/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)) {
/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/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/khum1/
Dmain.php115 if ( preg_match('/^childrenpages_/', $item->getType()) ) {
174 if ( ! preg_match('/^childrenpages_/', $item->getType()) ) {
/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/a_free_worldic/
Dtpl_functions.php114 …if(!preg_match("/^".$user_ns.":.*?$|^".$group_ns.":.*?$/", $svID)) { // skip group/user sidebars a…
136 if(preg_match('/'.$user_ns.':'.$user.':.*/', $svID)) {
295 preg_match('/<h1>.*?<\/h1>/', p_locale_xhtml('index'), $match);
/template/masa/
Dtpl_functions.php171 …if(!preg_match("/^".$user_ns.":.*?$|^".$group_ns.":.*?$/", $svID)) { // skip group/user sidebars a…
192 if(preg_match('/'.$user_ns.':'.$user.':.*/', $svID)) {
347 preg_match('/<h1>.*?<\/h1>/', p_locale_xhtml('index'), $match);
/template/twigstarter/vendor/twig/twig/src/Test/
DIntegrationTestCase.php100 if (!preg_match('/\.test$/', $file)) {
110 …if (preg_match('/--TEST--\s*(.*?)\s*(?:--CONDITION--\s*(.*))?\s*(?:--DEPRECATION--\s*(.*?))?\s*((?…
117 …} elseif (preg_match('/--TEST--\s*(.*?)\s*(?:--CONDITION--\s*(.*))?\s*(?:--DEPRECATION--\s*(.*?))?…
/template/strap/vendor/carica/phpcss/src/PhpCss/Parser/
H A DPseudoClass.php212 } elseif (preg_match('(^[+-]?\d+$)D', $string)) {
215 preg_match('(^(?P<repeat>\d+)n$)D', $string, $matches) ||
216 preg_match('(^(?P<repeat>[+-]?\d*)n(?P<add>[+-]\d+)$)D', $string, $matches)

1234