Searched refs:regexp (Results 1 - 25 of 555) sorted by relevance

1234567891011>>

/macosx-10.10.1/JavaScriptCore-7600.1.17/tests/mozilla/ecma_2/RegExp/
H A Dmultiline-001.js27 ( regexp, pattern, index, matches_array ) {
31 if ( regexp.exec(pattern) == null || matches_array == null ) {
33 regexp + ".exec(" + pattern +")",
35 regexp.exec(pattern) );
41 regexp.toString() + ".exec(" + pattern +").length",
43 regexp.exec(pattern).length );
46 regexp.toString() + ".exec(" + pattern +").index",
48 regexp.exec(pattern).index );
51 regexp + ".exec(" + pattern +").input",
53 regexp
[all...]
H A Dregress-001.js5 * JS regexp anchoring on empty match bug
13 var TITLE = "JS regexp anchoring on empty match bug";
25 function AddRegExpCases( regexp, str_regexp, length, matches_array ) {
29 regexp.length,
30 regexp.length );
37 regexp[matches] );
H A Doctal-001.js29 regexp, str_regexp, pattern, str_pattern, index, matches_array ) {
33 if ( regexp.exec(pattern) == null || matches_array == null ) {
35 regexp + ".exec(" + str_pattern +")",
37 regexp.exec(pattern) );
44 regexp.exec(pattern).length );
49 regexp.exec(pattern).index );
54 regexp.exec(pattern).input );
59 regexp.exec(pattern).toString() );
61 var limit = matches_array.length > regexp.exec(pattern).length
63 : regexp
[all...]
H A Doctal-002.js44 regexp, str_regexp, pattern, str_pattern, index, matches_array ) {
48 if ( regexp.exec(pattern) == null || matches_array == null ) {
50 regexp + ".exec(" + str_pattern +")",
52 regexp.exec(pattern) );
59 regexp.exec(pattern).length );
64 regexp.exec(pattern).index );
69 regexp.exec(pattern).input );
74 regexp.exec(pattern).toString() );
76 var limit = matches_array.length > regexp.exec(pattern).length
78 : regexp
[all...]
H A Dexec-002.js139 regexp, pattern, index, matches_array ) {
143 if ( regexp.exec(pattern) == null || matches_array == null ) {
145 regexp + ".exec(" + pattern +")",
147 regexp.exec(pattern) );
152 regexp + ".exec(" + pattern +").length",
154 regexp.exec(pattern).length );
157 regexp + ".exec(" + pattern +").index",
159 regexp.exec(pattern).index );
162 regexp + ".exec(" + pattern +").input",
164 regexp
[all...]
H A Doctal-003.js12 * WHY: the original test expected the regexp /.\011/
17 * regexp should be parsed as a single token: it is the octal escape sequence
20 * So the regexp consists of 2 characters: <any-character>, <'\t'>.
21 * There is no match between the regexp and the string.
38 regexp, str_regexp, pattern, str_pattern, index, matches_array ) {
42 if ( regexp.exec(pattern) == null || matches_array == null ) {
44 regexp + ".exec(" + str_pattern +")",
46 regexp.exec(pattern) );
53 regexp.exec(pattern).length );
58 regexp
[all...]
H A Dhex-001.js30 regexp, str_regexp, pattern, str_pattern, length, index, matches_array ) {
34 if ( regexp.exec(pattern) == null || matches_array == null ) {
38 regexp.exec(pattern) );
46 regexp.exec(pattern).length );
51 regexp.exec(pattern).index );
56 regexp.exec(pattern).input );
62 regexp.exec(pattern)[matches] );
H A Dunicode-001.js30 regexp, str_regexp, pattern, str_pattern, length, index, matches_array ) {
35 regexp.exec(pattern).length );
40 regexp.exec(pattern).index );
45 regexp.exec(pattern).input );
51 regexp.exec(pattern)[matches] );
/macosx-10.10.1/JavaScriptCore-7600.1.17/tests/mozilla/ecma_2/String/
H A Dmatch-004.js11 * String.match( regexp )
13 * If regexp is not an object of type RegExp, it is replaced with result
14 * of the expression new RegExp(regexp). Let string denote the result of
15 * converting the this value to a string. If regexp.global is false,
17 * section 15.7.5.3) on regexp with string as parameter.
19 * Otherwise, set the regexp.lastIndex property to 0 and invoke
22 * regexp.lastIndex is left unchanged) increment regexp.lastIndex by 1.
39 var TITLE = "String.prototype.match( regexp )";
98 regexp, str_regex
[all...]
H A Dmatch-002.js11 * String.match( regexp )
13 * If regexp is not an object of type RegExp, it is replaced with result
14 * of the expression new RegExp(regexp). Let string denote the result of
15 * converting the this value to a string. If regexp.global is false,
17 * section 15.7.5.3) on regexp with string as parameter.
19 * Otherwise, set the regexp.lastIndex property to 0 and invoke
22 * regexp.lastIndex is left unchanged) increment regexp.lastIndex by 1.
31 * This file tests cases in which regexp.global is false. Therefore,
32 * results should behave as regexp
[all...]
H A Dmatch-001.js11 * String.match( regexp )
13 * If regexp is not an object of type RegExp, it is replaced with result
14 * of the expression new RegExp(regexp). Let string denote the result of
15 * converting the this value to a string. If regexp.global is false,
17 * section 15.7.5.3) on regexp with string as parameter.
19 * Otherwise, set the regexp.lastIndex property to 0 and invoke
22 * regexp.lastIndex is left unchanged) increment regexp.lastIndex by 1.
34 var TITLE = "String.prototype.match( regexp )";
38 // the regexp argumen
[all...]
H A Dmatch-003.js11 * String.match( regexp )
13 * If regexp is not an object of type RegExp, it is replaced with result
14 * of the expression new RegExp(regexp). Let string denote the result of
15 * converting the this value to a string. If regexp.global is false,
17 * section 15.7.5.3) on regexp with string as parameter.
19 * Otherwise, set the regexp.lastIndex property to 0 and invoke
22 * regexp.lastIndex is left unchanged) increment regexp.lastIndex by 1.
34 var TITLE = "String.prototype.match( regexp )";
38 // the regexp argumen
[all...]
/macosx-10.10.1/less-25/less/
H A Dregexp.h2 * Definitions etc. for regexp(3) routines.
4 * Caveat: this is V8 regexp(3) [actually, a reimplementation thereof],
12 typedef struct regexp { struct
20 } regexp; typedef in typeref:struct:regexp
28 extern regexp *regcomp _ANSI_ARGS_((char *exp));
29 extern int regexec _ANSI_ARGS_((regexp *prog, char *string));
30 extern int regexec2 _ANSI_ARGS_((regexp *prog, char *string, int notbol));
31 extern void regsub _ANSI_ARGS_((regexp *prog, char *source, char *dest));
/macosx-10.10.1/ICU-531.30/icuSources/i18n/unicode/
H A Duregex.h205 * @param regexp The regular expression to be closed.
209 uregex_close(URegularExpression *regexp);
243 * @param regexp The compiled regular expression to be cloned.
249 uregex_clone(const URegularExpression *regexp, UErrorCode *status);
255 * @param regexp The compiled regular expression.
269 uregex_pattern(const URegularExpression *regexp,
277 * @param regexp The compiled regular expression.
285 uregex_patternUText(const URegularExpression *regexp,
291 * @param regexp The compiled regular expression.
297 uregex_flags(const URegularExpression *regexp,
[all...]
/macosx-10.10.1/ICU-531.30/icuSources/i18n/
H A Duregex.cpp324 RegularExpression *regexp = (RegularExpression*)regexp2; local
326 if (validateRE(regexp, FALSE, status) == FALSE) {
330 *patLength = regexp->fPatStringLen;
332 return regexp->fPatString;
344 RegularExpression *regexp = (RegularExpression*)regexp2; local
345 return regexp->fPat->patternText(*status);
356 RegularExpression *regexp = (RegularExpression*)regexp2; local
357 if (validateRE(regexp, FALSE, status) == FALSE) {
360 int32_t flags = regexp->fPat->flags();
375 RegularExpression *regexp local
408 RegularExpression *regexp = (RegularExpression*)regexp2; local
438 RegularExpression *regexp = (RegularExpression*)regexp2; local
478 RegularExpression *regexp = (RegularExpression*)regexp2; local
495 RegularExpression *regexp = (RegularExpression*)regexp2; local
519 RegularExpression *regexp = (RegularExpression*)regexp2; local
549 RegularExpression *regexp = (RegularExpression*)regexp2; local
580 RegularExpression *regexp = (RegularExpression*)regexp2; local
603 RegularExpression *regexp = (RegularExpression*)regexp2; local
619 RegularExpression *regexp = (RegularExpression*)regexp2; local
639 RegularExpression *regexp = (RegularExpression*)regexp2; local
705 RegularExpression *regexp = (RegularExpression*)regexp2; local
724 RegularExpression *regexp = (RegularExpression*)regexp2; local
773 RegularExpression *regexp = (RegularExpression*)regexp2; local
797 RegularExpression *regexp = (RegularExpression*)regexp2; local
821 RegularExpression *regexp = (RegularExpression*)regexp2; local
847 RegularExpression *regexp = (RegularExpression*)regexp2; local
866 RegularExpression *regexp = (RegularExpression*)regexp2; local
887 RegularExpression *regexp = (RegularExpression*)regexp2; local
909 RegularExpression *regexp = (RegularExpression*)regexp2; local
925 RegularExpression *regexp = (RegularExpression*)regexp2; local
942 RegularExpression *regexp = (RegularExpression*)regexp2; local
958 RegularExpression *regexp = (RegularExpression*)regexp2; local
975 RegularExpression *regexp = (RegularExpression*)regexp2; local
991 RegularExpression *regexp = (RegularExpression*)regexp2; local
1007 RegularExpression *regexp = (RegularExpression*)regexp2; local
1024 RegularExpression *regexp = (RegularExpression*)regexp2; local
1041 RegularExpression *regexp = (RegularExpression*)regexp2; local
1059 RegularExpression *regexp = (RegularExpression*)regexp2; local
1076 RegularExpression *regexp = (RegularExpression*)regexp2; local
1094 RegularExpression *regexp = (RegularExpression*)regexp2; local
1111 RegularExpression *regexp = (RegularExpression*)regexp2; local
1128 RegularExpression *regexp = (RegularExpression*)regexp2; local
1145 RegularExpression *regexp = (RegularExpression*)regexp2; local
1164 RegularExpression *regexp = (RegularExpression*)regexp2; local
1212 RegularExpression *regexp = (RegularExpression*)regexp2; local
1238 RegularExpression *regexp = (RegularExpression*)regexp2; local
1273 RegularExpression *regexp = (RegularExpression*)regexp2; local
1344 appendReplacement(RegularExpression *regexp, const UChar *replacementText, int32_t replacementLength, UChar **destBuf, int32_t *destCapacity, UErrorCode *status) argument
1565 RegularExpression *regexp = (RegularExpression*)regexp2; local
1578 RegularExpression *regexp = (RegularExpression*)regexp2; local
1588 appendTail(RegularExpression *regexp, UChar **destBuf, int32_t *destCapacity, UErrorCode *status) argument
1718 RegularExpression *regexp = (RegularExpression*)regexp2; local
1730 RegularExpression *regexp = (RegularExpression*)regexp2; local
1778 split(RegularExpression *regexp, UChar *destBuf, int32_t destCapacity, int32_t *requiredCapacity, UChar *destFields[], int32_t destFieldsCapacity, UErrorCode *status) argument
1921 RegularExpression *regexp = (RegularExpression*)regexp2; local
1945 RegularExpression *regexp = (RegularExpression*)regexp2; local
[all...]
/macosx-10.10.1/ruby-106/ruby/test/uri/
H A Dtest_common.rb33 assert_instance_of Regexp, URI.regexp
34 assert_instance_of Regexp, URI.regexp(['http'])
35 assert_equal URI.regexp, URI.regexp
36 assert_equal 'http://', 'x http:// x'.slice(URI.regexp)
37 assert_equal 'http://', 'x http:// x'.slice(URI.regexp(['http']))
38 assert_equal 'http://', 'x http:// x ftp://'.slice(URI.regexp(['http']))
39 assert_equal nil, 'http://'.slice(URI.regexp([]))
40 assert_equal nil, ''.slice(URI.regexp)
41 assert_equal nil, 'xxxx'.slice(URI.regexp)
[all...]
/macosx-10.10.1/tcl-105/tcl_ext/trf/trf/tools/
H A Dfixhbline23 if {![regexp {^#!} $ipPath]} {
30 if {[regexp {wish} $ipPath]} {
50 if {[regexp {tclsh} $ipPath]} {
/macosx-10.10.1/JavaScriptCore-7600.1.17/offlineasm/
H A Dself_hash.rb29 # dirHash(directory, regexp) -> SHA1 hexdigest
35 def dirHash(directory, regexp)
40 if entry =~ regexp
/macosx-10.10.1/tcl-105/tcl_ext/expect/expect/
H A Dfixline120 regexp "^#!(.*/)*(.*)" $line1 X X tail
/macosx-10.10.1/OpenLDAP-499.27/OpenLDAP/tests/data/
H A Dslapd-whoami.conf34 authz-regexp "^uid=group/([^,]+),.*" "ldap:///dc=example,dc=com??sub?cn=$1"
35 authz-regexp "^uid=([^,]+),.*" "ldap:///dc=example,dc=com??sub?uid=$1"
/macosx-10.10.1/bind9-45.101/bind9/lib/dns/rdata/in_1/
H A Dnaptr_35.h35 char *regexp; member in struct:dns_rdata_in_naptr
/macosx-10.10.1/tcl-105/tcl_ext/xotcl/xotcl/library/lib/
H A DchangeXOTclVersion.xotcl32 if {![regexp {((^.*/xotcl-)([0-9.]*))/?} [pwd] _ topdirname topdirprefix oldversion]} {
53 if {[regexp {^XOTCL_MAJOR_VERSION=[0-9]} $line]} {
55 } elseif {[regexp {^XOTCL_MINOR_VERSION=[0-9]} $line]} {
57 } elseif {[regexp {^XOTCL_RELEASE_LEVEL=} $line]} {
59 } elseif {[regexp {^define\(XOTclVersion, .*$} $line]} {
/macosx-10.10.1/JavaScriptCore-7600.1.17/tests/mozilla/ecma_3/Date/
H A D15.9.5.7.js53 var regexp = ''; variable
57 var cnERR ='OOPS! FATAL ERROR: no regexp match in extractLocaleTimeString()';
147 * So first, use a regexp of the form /date.toDateString()(.*)$/
154 regexp = new RegExp(date.toDateString() + '(.*)' + '$');
157 TimeString = date.toString().match(regexp)[1];
169 regexp= /([^G]*)GMT.*/;
172 hopeThisIsLocaleTimeString = TimeString.match(regexp)[1];
/macosx-10.10.1/libxml2-26/libxml2/
H A DtestAutomata.c38 xmlRegexpPtr regexp = NULL; local
171 regexp = xmlAutomataCompile(am);
174 if (regexp == NULL) {
180 if (regexp == NULL) {
184 exec = xmlRegNewExecCtxt(regexp, NULL, NULL);
198 } else if (regexp != NULL) {
200 exec = xmlRegNewExecCtxt(regexp, NULL, NULL);
209 if (regexp != NULL)
210 xmlRegFreeRegexp(regexp);
225 xmlRegexpPtr regexp; local
[all...]
/macosx-10.10.1/pyobjc-45/2.6/pyobjc/pyobjc-core/libxml2-src/
H A DtestAutomata.c38 xmlRegexpPtr regexp = NULL; local
171 regexp = xmlAutomataCompile(am);
174 if (regexp == NULL) {
180 if (regexp == NULL) {
184 exec = xmlRegNewExecCtxt(regexp, NULL, NULL);
198 } else if (regexp != NULL) {
200 exec = xmlRegNewExecCtxt(regexp, NULL, NULL);
209 if (regexp != NULL)
210 xmlRegFreeRegexp(regexp);
225 xmlRegexpPtr regexp; local
[all...]

Completed in 254 milliseconds

1234567891011>>