Searched refs:match (Results 26 - 50 of 2338) sorted by relevance

1234567891011>>

/macosx-10.10/JavaScriptCore-7600.1.17/tests/mozilla/js1_2/regexp/
H A Dparentheses.js41 // 'abc'.match(new RegExp('(abc)'))
42 testcases[count++] = new TestCase ( SECTION, "'abc'.match(new RegExp('(abc)'))",
43 String(["abc","abc"]), String('abc'.match(new RegExp('(abc)'))));
45 // 'abcdefg'.match(new RegExp('a(bc)d(ef)g'))
46 testcases[count++] = new TestCase ( SECTION, "'abcdefg'.match(new RegExp('a(bc)d(ef)g'))",
47 String(["abcdefg","bc","ef"]), String('abcdefg'.match(new RegExp('a(bc)d(ef)g'))));
49 // 'abcdefg'.match(new RegExp('(.{3})(.{4})'))
50 testcases[count++] = new TestCase ( SECTION, "'abcdefg'.match(new RegExp('(.{3})(.{4})'))",
51 String(["abcdefg","abc","defg"]), String('abcdefg'.match(new RegExp('(.{3})(.{4})'))));
53 // 'aabcdaabcd'.match(ne
[all...]
H A Dspecial_characters.js42 testcases[count++] = new TestCase ( SECTION, "'^abcdefghi'.match(/\^abc/)", String(["^abc"]), String('^abcdefghi'.match(/\^abc/)));
45 testcases[count++] = new TestCase ( SECTION, "'abcdefghi'.match(/^abc/)", String(["abc"]), String('abcdefghi'.match(/^abc/)));
48 testcases[count++] = new TestCase ( SECTION, "'abcdefghi'.match(/fghi$/)", String(["ghi"]), String('abcdefghi'.match(/ghi$/)));
51 testcases[count++] = new TestCase ( SECTION, "'eeeefghi'.match(/e*/)", String(["eeee"]), String('eeeefghi'.match(/e*/)));
54 testcases[count++] = new TestCase ( SECTION, "'abcdeeeefghi'.match(/e+/)", String(["eeee"]), String('abcdeeeefghi'.match(/
[all...]
H A Dasterisk.js41 // 'abcddddefg'.match(new RegExp('d*'))
42 testcases[count++] = new TestCase ( SECTION, "'abcddddefg'.match(new RegExp('d*'))",
43 String([""]), String('abcddddefg'.match(new RegExp('d*'))));
45 // 'abcddddefg'.match(new RegExp('cd*'))
46 testcases[count++] = new TestCase ( SECTION, "'abcddddefg'.match(new RegExp('cd*'))",
47 String(["cdddd"]), String('abcddddefg'.match(new RegExp('cd*'))));
49 // 'abcdefg'.match(new RegExp('cx*d'))
50 testcases[count++] = new TestCase ( SECTION, "'abcdefg'.match(new RegExp('cx*d'))",
51 String(["cd"]), String('abcdefg'.match(new RegExp('cx*d'))));
53 // 'xxxxxxx'.match(ne
[all...]
H A Dquestion_mark.js41 // 'abcdef'.match(new RegExp('cd?e'))
42 testcases[count++] = new TestCase ( SECTION, "'abcdef'.match(new RegExp('cd?e'))",
43 String(["cde"]), String('abcdef'.match(new RegExp('cd?e'))));
45 // 'abcdef'.match(new RegExp('cdx?e'))
46 testcases[count++] = new TestCase ( SECTION, "'abcdef'.match(new RegExp('cdx?e'))",
47 String(["cde"]), String('abcdef'.match(new RegExp('cdx?e'))));
49 // 'pqrstuvw'.match(new RegExp('o?pqrst'))
50 testcases[count++] = new TestCase ( SECTION, "'pqrstuvw'.match(new RegExp('o?pqrst'))",
51 String(["pqrst"]), String('pqrstuvw'.match(new RegExp('o?pqrst'))));
53 // 'abcd'.match(ne
[all...]
H A DRegExp_leftContext_as_array.js41 // 'abc123xyz'.match(/123/); RegExp['$`']
42 'abc123xyz'.match(/123/);
43 testcases[count++] = new TestCase ( SECTION, "'abc123xyz'.match(/123/); RegExp['$`']",
46 // 'abc123xyz'.match(/456/); RegExp['$`']
47 'abc123xyz'.match(/456/);
48 testcases[count++] = new TestCase ( SECTION, "'abc123xyz'.match(/456/); RegExp['$`']",
51 // 'abc123xyz'.match(/abc123xyz/); RegExp['$`']
52 'abc123xyz'.match(/abc123xyz/);
53 testcases[count++] = new TestCase ( SECTION, "'abc123xyz'.match(/abc123xyz/); RegExp['$`']",
56 // 'xxxx'.match(/
[all...]
H A DRegExp_rightContext_as_array.js41 // 'abc123xyz'.match(/123/); RegExp['$\'']
42 'abc123xyz'.match(/123/);
43 testcases[count++] = new TestCase ( SECTION, "'abc123xyz'.match(/123/); RegExp['$\'']",
46 // 'abc123xyz'.match(/456/); RegExp['$\'']
47 'abc123xyz'.match(/456/);
48 testcases[count++] = new TestCase ( SECTION, "'abc123xyz'.match(/456/); RegExp['$\'']",
51 // 'abc123xyz'.match(/abc123xyz/); RegExp['$\'']
52 'abc123xyz'.match(/abc123xyz/);
53 testcases[count++] = new TestCase ( SECTION, "'abc123xyz'.match(/abc123xyz/); RegExp['$\'']",
56 // 'xxxx'.match(/
[all...]
/macosx-10.10/libarchive-30/libarchive/doc/
H A Dmdoc2man.awk112 if (match(l, "^\"")) {
124 o = match(l, "[ \t]")
153 if(match(words[w],"^Li$")) { # Literal; rest of line is unformatted
156 } else if(match(words[w],"^Dl$")) { # Display literal
159 } else if(match(words[w],"^Bd$")) { # Begin display
160 if(match(words[w+1],"-literal")) {
166 } else if(match(words[w],"^Ed$")) { # End display
169 } else if(match(words[w],"^Ns$")) { # Suppress space after next word
171 } else if(match(words[w],"^No$")) { # Normal text
173 } else if(match(word
[all...]
/macosx-10.10/apr-32/apr/apr/build/
H A Dnw_ver.awk21 if (match ($0, /^#define APR_MAJOR_VERSION/)) {
24 else if (match ($0, /^#define APR_MINOR_VERSION/)) {
27 else if (match ($0, /^#define APR_PATCH_VERSION/)) {
30 else if (match ($0, /^#define APR_IS_DEV_VERSION/)) {
38 print "ERROR: APR version " ver_str " does NOT match!";
H A Dwin32ver.awk16 if (match(file, /\./)) {
22 if (match(ARGV[i], /icon=/)) {
25 if (match(ARGV[i], /vendor=/)) {
29 if (match(ARGV[i], /special=/)) {
43 if (match ($0, /^#define AP._MAJOR_VERSION/)) {
46 if (match ($0, /^#define AP._MINOR_VERSION/)) {
49 if (match ($0, /^#define AP._PATCH_VERSION/)) {
52 if (match ($0, /^#define AP._IS_DEV_VERSION/)) {
56 if (match ($0, /^#undef AP._IS_DEV_VERSION/)) {
59 if (match (
[all...]
/macosx-10.10/bind9-45.101/bind9/unit/atf-src/atf-sh/
H A Dnormalize_test.sh39 atf_check -s eq:0 -o match:'a.b: test value 1' \
40 -o match:'c-d: test value 2' -e ignore ${h} normalize
/macosx-10.10/vim-55/runtime/syntax/
H A Da65.vim17 syn match a65Opcode "\<PHP\($\|\s\)" nextgroup=a65Address
18 syn match a65Opcode "\<PLA\($\|\s\)" nextgroup=a65Address
19 syn match a65Opcode "\<PLX\($\|\s\)" nextgroup=a65Address
20 syn match a65Opcode "\<PLY\($\|\s\)" nextgroup=a65Address
21 syn match a65Opcode "\<SEC\($\|\s\)" nextgroup=a65Address
22 syn match a65Opcode "\<CLD\($\|\s\)" nextgroup=a65Address
23 syn match a65Opcode "\<SED\($\|\s\)" nextgroup=a65Address
24 syn match a65Opcode "\<CLI\($\|\s\)" nextgroup=a65Address
25 syn match a65Opcode "\<BVC\($\|\s\)" nextgroup=a65Address
26 syn match a65Opcod
[all...]
H A Dtidy.vim21 syn match tidyComment "^\s*//.*$" contains=tidyTodo
22 syn match tidyComment "^\s*#.*$" contains=tidyTodo
25 syn match tidyAssignment "^[a-z0-9-]\+:\s*.*$" contains=tidyOption,@tidyValue,tidyDelimiter
26 syn match tidyDelimiter ":" contained
28 syn match tidyNewTagAssignment "^new-\l\+-tags:\s*.*$" contains=tidyNewTagOption,tidyNewTagDelimiter,tidyNewTagValue,tidyDelimiter
29 syn match tidyNewTagDelimiter "," contained
30 syn match tidyNewTagValue "\<\w\+\>" contained
34 syn case match
35 syn match tidyDoctype "\<omit\|auto\|strict\|loose\|transitional\|user\>" contained
36 " NOTE: use match rathe
[all...]
H A Dvmasm.vim40 syn match vmasmOpcode "\<add[bwlfdgh][23]\>"
41 syn match vmasmOpcode "\<bi[cs][bwl][23]\>"
42 syn match vmasmOpcode "\<clr[bwlqofdgh]\>"
43 syn match vmasmOpcode "\<cmp[bwlfdgh]\>"
44 syn match vmasmOpcode "\<cvt[bwlfdgh][bwlfdgh]\>"
45 syn match vmasmOpcode "\<cvtr[fdgh]l\>"
46 syn match vmasmOpcode "\<div[bwlfdgh][23]\>"
47 syn match vmasmOpcode "\<emod[fdgh]\>"
48 syn match vmasmOpcode "\<mneg[bwlfdgh]\>"
49 syn match vmasmOpcod
[all...]
H A Dncf.vim20 syn match ncfLoad "\(unl\|l\)oad .*"lc=4 contains=ALLBUT,Error
21 syn match ncfMount "mount .*"lc=5 contains=ALLBUT,Error
23 syn match ncfComment "^\ *rem.*$"
24 syn match ncfComment "^\ *;.*$"
25 syn match ncfComment "^\ *#.*$"
27 syn match ncfSearchPath "search \(add\|del\) " nextgroup=ncfPath
28 syn match ncfPath "\<[^: ]\+:\([A-Za-z0-9._]\|\\\)*\>"
29 syn match ncfServerName "^file server name .*$"
30 syn match ncfIPXNet "^ipx internal net"
34 syn match ncfContStrin
[all...]
H A Dhelp.vim11 syn match helpHeadline "^[-A-Z .][-A-Z0-9 .()]*[ \t]\+\*"me=e-1
12 syn match helpSectionDelim "^=\{3,}.*===$"
13 syn match helpSectionDelim "^-\{3,}.*--$"
16 syn match helpHyperTextJump "\\\@<!|[^"*|]\+|" contains=helpBar
17 syn match helpHyperTextEntry "\*[^"*|]\+\*\s"he=e-1 contains=helpStar
18 syn match helpHyperTextEntry "\*[^"*|]\+\*$" contains=helpStar
20 syn match helpHyperTextJump "\\\@<!|[#-)!+-~]\+|" contains=helpBar
21 syn match helpHyperTextEntry "\*[#-)!+-~]\+\*\s"he=e-1 contains=helpStar
22 syn match helpHyperTextEntry "\*[#-)!+-~]\+\*$" contains=helpStar
24 syn match helpBa
[all...]
H A Dz8a.vim27 syn match z8aIdentifier "[a-z_][a-z0-9_]*"
31 syn match z8aInstruction "\<inc\>"
32 syn match z8aInstruction "\<dec\>"
33 syn match z8aInstruction "\<ex\>"
34 syn match z8aSpecInst "\<inc\s\+sp\>"me=s+3
35 syn match z8aSpecInst "\<dec\s\+sp\>"me=s+3
36 syn match z8aSpecInst "\<ex\s\+(\s*sp\s*)\s*,\s*hl\>"me=s+2
39 syn match z8aLabel "[a-z_][a-z0-9_]*:"
40 syn match z8aSpecialLabel "[a-z_][a-z0-9_]*::"
43 syn match z8aPrePro
[all...]
H A Dpfmain.vim21 syntax case match
498 syntax match pfmainRef "$\<2bounce_notice_recipient\>"
499 syntax match pfmainRef "$\<access_map_reject_code\>"
500 syntax match pfmainRef "$\<address_verify_default_transport\>"
501 syntax match pfmainRef "$\<address_verify_local_transport\>"
502 syntax match pfmainRef "$\<address_verify_map\>"
503 syntax match pfmainRef "$\<address_verify_negative_cache\>"
504 syntax match pfmainRef "$\<address_verify_negative_expire_time\>"
505 syntax match pfmainRef "$\<address_verify_negative_refresh_time\>"
506 syntax match pfmainRe
[all...]
H A Dratpoison.vim15 syn match ratpoisonComment "^\s*#.*$" contains=ratpoisonTodo
21 syn case match
45 syn match ratpoisonGravityArg "\<\(n\|north\)\>" contained
46 syn match ratpoisonGravityArg "\<\(nw\|northwest\)\>" contained
47 syn match ratpoisonGravityArg "\<\(ne\|northeast\)\>" contained
48 syn match ratpoisonGravityArg "\<\(w\|west\)\>" contained
49 syn match ratpoisonGravityArg "\<\(c\|center\)\>" contained
50 syn match ratpoisonGravityArg "\<\(e\|east\)\>" contained
51 syn match ratpoisonGravityArg "\<\(s\|south\)\>" contained
52 syn match ratpoisonGravityAr
[all...]
H A Dia64.vim37 syn match ia64Identifier "[a-zA-Z_$][a-zA-Z0-9_$]*"
38 syn match ia64Directive "\.[a-zA-Z_$][a-zA-Z_$.]\+"
39 syn match ia64Label "[a-zA-Z_$.][a-zA-Z0-9_$.]*\s\=:\>"he=e-1
40 syn match ia64Label "[a-zA-Z_$.][a-zA-Z0-9_$.]*\s\=::\>"he=e-2
41 syn match ia64Label "[a-zA-Z_$.][a-zA-Z0-9_$.]*\s\=#\>"he=e-1
43 syn match ia64Octal "0[0-7_]*\>"
44 syn match ia64Binary "0[bB][01_]*\>"
45 syn match ia64Hex "0[xX][0-9a-fA-F_]*\>"
46 syn match ia64Decimal "[1-9_][0-9_]*\>"
47 syn match ia64Floa
[all...]
H A Dabel.vim37 syn match abelDirective "@alternate"
38 syn match abelDirective "@standard"
39 syn match abelDirective "@const"
40 syn match abelDirective "@dcset"
41 syn match abelDirective "@include"
42 syn match abelDirective "@page"
43 syn match abelDirective "@radix"
44 syn match abelDirective "@repeat"
45 syn match abelDirective "@irp"
46 syn match abelDirectiv
[all...]
/macosx-10.10/bash-94.1.2/bash-3.2/examples/functions/
H A Djj.bash9 *) echo not a match\?
/macosx-10.10/apache-793/httpd/build/
H A Dnw_ver.awk20 if (match ($0, /^#define AP_SERVER_COPYRIGHT \\/)) {
25 else if (match ($0, /^#define AP_SERVER_MAJORVERSION_NUMBER /)) {
28 else if (match ($0, /^#define AP_SERVER_MINORVERSION_NUMBER /)) {
31 else if (match ($0, /^#define AP_SERVER_PATCHLEVEL_NUMBER/)) {
34 else if (match ($0, /^#define AP_SERVER_DEVBUILD_BOOLEAN/)) {
43 if (match ($0, /^\/repos\/asf\/!svn\/ver\/[0-9]+\/httpd\/httpd\/(trunk|branches\/[0-9]\.[0-9]\.x)$/)) {
/macosx-10.10/emacs-93/emacs/lisp/
H A Dminibuf-eldef.el35 ;; ever restore to the match the initial input).
83 (match nil)
92 (setq match (pop regexps))
93 (if (re-search-forward (if (stringp match) match (car match)) nil t)
95 (setq match nil)))))
96 (if (not match)
101 (setq match (if (consp match) (cd
[all...]
/macosx-10.10/ruby-106/ruby/lib/rexml/dtd/
H A Delementdecl.rb11 def initialize match
12 @name = match[1]
13 @rest = match[2]
/macosx-10.10/OpenLDAP-499.27/OpenLDAP/contrib/ldaptcl/
H A Dldaperr.tcl9 ![string match "#define LDAP_SUCCESS*" $line]} { }
15 if {[string match *typedef* $line]} break
16 if {![string match #define* $line]} continue
17 if {![string match "#define LDAP_*" $line]} continue
18 if {[string match "*LDAP_RANGE*" $line]} continue
19 if {[string match "*LDAP_API_RESULT*" $line]} continue
20 if {[string match {*\\} $line]} {

Completed in 300 milliseconds

1234567891011>>