/macosx-10.10.1/JavaScriptCore-7600.1.17/tests/mozilla/ecma_2/RegExp/ |
H A D | octal-001.js | 29 regexp, str_regexp, pattern, str_pattern, index, matches_array ) { 33 if ( regexp.exec(pattern) == null || matches_array == null ) { 37 regexp.exec(pattern) ); 44 regexp.exec(pattern).length ); 49 regexp.exec(pattern).index ); 53 pattern, 54 regexp.exec(pattern).input ); 59 regexp.exec(pattern).toString() ); 61 var limit = matches_array.length > regexp.exec(pattern).length 63 : regexp.exec(pattern) [all...] |
H A D | octal-002.js | 44 regexp, str_regexp, pattern, str_pattern, index, matches_array ) { 48 if ( regexp.exec(pattern) == null || matches_array == null ) { 52 regexp.exec(pattern) ); 59 regexp.exec(pattern).length ); 64 regexp.exec(pattern).index ); 68 pattern, 69 regexp.exec(pattern).input ); 74 regexp.exec(pattern).toString() ); 76 var limit = matches_array.length > regexp.exec(pattern).length 78 : regexp.exec(pattern) [all...] |
H A D | octal-003.js | 38 regexp, str_regexp, pattern, str_pattern, index, matches_array ) { 42 if ( regexp.exec(pattern) == null || matches_array == null ) { 46 regexp.exec(pattern) ); 53 regexp.exec(pattern).length ); 58 regexp.exec(pattern).index ); 62 escape(pattern), 63 escape(regexp.exec(pattern).input) ); 68 escape(regexp.exec(pattern).toString()) ); 70 var limit = matches_array.length > regexp.exec(pattern).length 72 : regexp.exec(pattern) [all...] |
H A D | unicode-001.js | 11 var TITLE = "new RegExp( pattern, flags )"; 30 regexp, str_regexp, pattern, str_pattern, length, index, matches_array ) { 35 regexp.exec(pattern).length ); 40 regexp.exec(pattern).index ); 44 pattern, 45 regexp.exec(pattern).input ); 51 regexp.exec(pattern)[matches] );
|
/macosx-10.10.1/JavaScriptCore-7600.1.17/tests/mozilla/ecma_3/RegExp/ |
H A D | regress-76683.js | 33 var pattern = ''; variable 49 pattern = /(<!--([^-]|-[^-]|--[^>])*-->)|(<([\$\w:\.\-]+)((([ ][^\/>]*)?\/>)|(([ ][^>]*)?>)))/; 50 actualmatch = string.match(pattern); 55 pattern = /(<!--([^-]|-[^-]|--[^>])*-->)|(<(tagPattern)((([ ][^\/>]*)?\/>)|(([ ][^>]*)?>)))/; 56 actualmatch = string.match(pattern); 62 pattern = /(<!--([^-]|-[^-]|--[^>])*-->)|(<(tagPattern)((([ ][^\/>]*)?\/>)|(([ ][^>]*)?>)))|(<\/tagPattern[^>]*>)/; 63 actualmatch = string.match(pattern); 78 patterns[i] = pattern;
|
H A D | regress-191479.js | 49 var pattern = ''; variable 61 pattern = /(\d|\d\s){2,}/; 62 actualmatch = string.match(pattern); 68 pattern = /(\d|\d\s){4,}/; 69 actualmatch = string.match(pattern); 75 pattern = /(\d|\d\s)+/; 76 actualmatch = string.match(pattern); 82 pattern = /(\d\s?){4,}/; 83 actualmatch = string.match(pattern); 92 pattern [all...] |
H A D | regress-119909.js | 69 * Creates a regexp pattern like (((((((((hello))))))))) 76 var pattern = ''; 78 for (var i=0; i<numParens; i++) {pattern += openParen;} 79 pattern += strOriginal; 80 for (i=0; i<numParens; i++) {pattern += closeParen;} 81 var re = new RegExp(pattern);
|
H A D | regress-67773.js | 35 var pattern = ''; variable 45 pattern = /^(\S+)?( ?)(B+)$/; //single space before second ? character 48 actualmatch = string.match(pattern); 54 actualmatch = string.match(pattern); 60 actualmatch = string.match(pattern); 65 pattern = /^(A+B)+$/; 68 actualmatch = string.match(pattern); 74 actualmatch = string.match(pattern); 80 actualmatch = string.match(pattern); 86 actualmatch = string.match(pattern); [all...] |
H A D | regress-100199.js | 38 var pattern = ''; variable 48 pattern = /[]/; 51 actualmatch = string.match(pattern); 57 actualmatch = string.match(pattern); 63 actualmatch = string.match(pattern); 69 actualmatch = string.match(pattern); 75 actualmatch = string.match(pattern); 81 actualmatch = string.match(pattern); 87 actualmatch = string.match(pattern); 93 actualmatch = string.match(pattern); [all...] |
H A D | regress-105972.js | 34 var pattern = ''; variable 49 * at the simplest match it can find. But the pattern here asks us 54 pattern = /^.*?$/; 56 actualmatch = string.match(pattern); 63 * Unlike the above pattern, we don't have to match till the end of 67 pattern = /^.*?/; 69 actualmatch = string.match(pattern); 84 pattern = /^.*?(:|$)/; 86 actualmatch = string.match(pattern); 103 pattern [all...] |
H A D | regress-165353.js | 48 var pattern = ''; variable 58 pattern = /^([a-z]+)*[a-z]$/; 61 actualmatch = string.match(pattern); 67 actualmatch = string.match(pattern); 73 actualmatch = string.match(pattern); 80 pattern = /^(([a-z]+)*[a-z]\.)+[a-z]{2,}$/; 81 actualmatch = string.match(pattern); 87 pattern = /^(([a-z]+)*([a-z])\.)+[a-z]{2,}$/; 88 actualmatch = string.match(pattern); 102 patterns[i] = pattern; [all...] |
H A D | regress-187133.js | 43 * (?!pattern) 62 var pattern = ''; variable 72 pattern = /(\.(?!com|org)|\/)/; 75 actualmatch = string.match(pattern); 81 actualmatch = string.match(pattern); 87 actualmatch = string.match(pattern); 92 pattern = /(?!a|b)|c/; 95 actualmatch = string.match(pattern); 101 actualmatch = string.match(pattern); 107 actualmatch = string.match(pattern); [all...] |
H A D | regress-78156.js | 36 var pattern = ''; variable 52 pattern = /^\d/gm; 53 actualmatch = string.match(pattern); 58 pattern = /\d$/gm; 59 actualmatch = string.match(pattern); 65 pattern = /^\d/gm; 66 actualmatch = string.match(pattern); 71 pattern = /\d$/gm; 72 actualmatch = string.match(pattern); 87 patterns[i] = pattern; [all...] |
H A D | regress-87231.js | 28 * pattern = /^(A)?(A.*)$/; 46 var pattern = ''; variable 56 pattern = /^(A)?(A.*)$/; 59 actualmatch = string.match(pattern); 65 actualmatch = string.match(pattern); 71 actualmatch = string.match(pattern); 76 pattern = /(A)?(A.*)/; 82 actualmatch = string.match(pattern); 88 actualmatch = string.match(pattern); 94 actualmatch = string.match(pattern); [all...] |
H A D | 15.10.6.2-1.js | 23 * NOT every substring fitting the given pattern will be matched. 34 * regular expression pattern as follows: 56 * e = (index of last input character matched so far by the pattern) + 1 68 var pattern = ''; variable 80 pattern = /\w\s\w/g; 81 actualmatch = string.match(pattern); 88 pattern = /\d\d\d/g; 89 actualmatch = string.match(pattern); 104 patterns[i] = pattern;
|
/macosx-10.10.1/CPANInternal-159.1/DateTime-Format-Strptime-1.52/t/ |
H A D | 002_dates.t | 11 pattern => '%D', 46 my ( $pattern, $data, $expect ) = @$_; 48 $object->pattern($pattern); 51 $pattern 61 $object->pattern('%l:%M:%S %p'); 75 $object->pattern('%H:%M:%S %z'); 81 $object->pattern('%H:%M:%S %Z'); 87 $object->pattern('%H:%M:%S %z %Z'); 98 $object->pattern(' [all...] |
/macosx-10.10.1/CPANInternal-159.1/DateTime-Format-Strptime-1.54/t/ |
H A D | 002_dates.t | 11 pattern => '%D', 46 my ( $pattern, $data, $expect ) = @$_; 48 $object->pattern($pattern); 51 $pattern 61 $object->pattern('%l:%M:%S %p'); 75 $object->pattern('%H:%M:%S %z'); 81 $object->pattern('%H:%M:%S %Z'); 87 $object->pattern('%H:%M:%S %z %Z'); 98 $object->pattern(' [all...] |
/macosx-10.10.1/JavaScriptCore-7600.1.17/runtime/ |
H A D | RegExpKey.h | 47 RefPtr<StringImpl> pattern; member in struct:JSC::RegExpKey 59 RegExpKey(RegExpFlags flags, const String& pattern) argument 61 , pattern(pattern.impl()) 65 RegExpKey(RegExpFlags flags, const PassRefPtr<StringImpl> pattern) argument 67 , pattern(pattern) 71 RegExpKey(RegExpFlags flags, const RefPtr<StringImpl>& pattern) argument 73 , pattern(pattern) [all...] |
/macosx-10.10.1/configd-699.1.5/configd.tproj/ |
H A D | pattern.h | 39 CFArrayRef patternCopyMatches (CFStringRef pattern); 41 Boolean patternKeyMatches (CFStringRef pattern, 44 Boolean patternAddSession (CFStringRef pattern, 47 void patternRemoveSession (CFStringRef pattern,
|
/macosx-10.10.1/curl-83.1.2/curl/lib/ |
H A D | curl_fnmatch.h | 29 /* default pattern matching function 42 int Curl_fnmatch(void *ptr, const char *pattern, const char *string);
|
/macosx-10.10.1/apr-32/apr/apr/include/ |
H A D | apr_fnmatch.h | 68 * Try to match the string to the given pattern, return APR_SUCCESS if 70 * an illegal pattern. 72 * With all flags unset, a pattern is interpreted as such: 88 * PATTERN: Any character other than \?*[ or a \ at the end of the pattern<br/> 101 * beginning. The pattern matches a single character if it 109 * just find a substring matching the pattern. 111 * @param pattern The pattern to match to 122 APR_DECLARE(apr_status_t) apr_fnmatch(const char *pattern, 126 * Determine if the given pattern i [all...] |
/macosx-10.10.1/apr-32/apr-util/apr-util/strmatch/ |
H A D | apr_strmatch.c | 41 const char *p_start = this_pattern->pattern; 65 const char *p_start = this_pattern->pattern; 86 apr_strmatch_pattern *pattern; local 90 pattern = apr_palloc(p, sizeof(*pattern)); 91 pattern->pattern = s; 92 pattern->length = strlen(s); 93 if (pattern->length == 0) { 94 pattern [all...] |
/macosx-10.10.1/pcre-7/pcre/ |
H A D | perltest.pl | 73 $pattern = $_; 75 while ($pattern !~ /^\s*(.).*\1/s) 80 $pattern .= $_; 83 chomp($pattern); 84 $pattern =~ s/\s+$//; 88 $showrest = ($pattern =~ s/\+(?=[a-z]*$)//); 90 # Remove /8 from a UTF-8 pattern. 92 $utf8 = $pattern =~ s/8(?=[a-z]*$)//; 94 # Remove /J from a pattern with duplicate names. 96 $pattern [all...] |
/macosx-10.10.1/WebKit-7600.1.25/mac/Misc/ |
H A D | WebUserContentURLPattern.mm | 35 UserContentURLPattern pattern; 51 _private->pattern = UserContentURLPattern(patternString); 66 return _private->pattern.isValid(); 71 return _private->pattern.scheme(); 76 return _private->pattern.host(); 81 return _private->pattern.matchSubdomains(); 86 return _private->pattern.matches(url);
|
/macosx-10.10.1/OpenSSH-189/openssh/ |
H A D | match.c | 6 * Simple pattern matching, with '*' and '?' as wildcards. 49 * Returns true if the given string matches the pattern (which may contain ? 54 match_pattern(const char *s, const char *pattern) argument 57 /* If at end of pattern, accept if also at end of string. */ 58 if (!*pattern) 61 if (*pattern == '*') { 63 pattern++; 65 /* If at end of pattern, accept immediately. */ 66 if (!*pattern) 69 /* If next character in pattern i 119 match_pattern_list(const char *string, const char *pattern, u_int len, int dolower) argument 179 match_hostname(const char *host, const char *pattern, u_int len) argument 214 match_user(const char *user, const char *host, const char *ipaddr, const char *pattern) argument [all...] |