Searched +refs:regexp +refs:opt (Results 1 - 25 of 26) sorted by relevance

12

/macosx-10.9.5/tcl-102/tcl_ext/xotcl/xotcl/apps/comm/
H A Dlink-checker.xotcl33 set opt(-url) http://localhost:8000/
34 set opt(-url) http://nm.wu-wien.ac.at/Lehre/
35 set opt(-verbose) 0; # 0, 1 (show check), or 2 (show ignore)
36 set opt(-foreign) 1; # 0, 1 (check foreign links on local pages)
37 set opt(-restrict) 0; # 0, 1
40 array set opt $argv
41 if {$opt(-restrict)} {
42 regexp {://(.*)$} $opt(-url) _ opt(
[all...]
/macosx-10.9.5/tcl-102/tcl_ext/tcllib/tcllib/examples/csv/
H A Dcsvcut18 while {[set ok [cmdline::getopt argv {sep.arg} opt val]] > 0} {
19 #puts stderr "= $opt $val"
20 switch -exact -- $opt {
42 if {[regexp -- {[0-9]+-[0-9]+} $i]} {
45 } elseif {[regexp -- {[0-9]+-} $i]} {
48 } elseif {[regexp -- {-[0-9]+} $i]} {
51 } elseif {[regexp -- {[0-9]+} $i]} {
H A Dcsvdiff24 while {[set ok [cmdline::getopt argv {sep.arg key.arg n} opt val]] > 0} {
25 #puts stderr "= $opt $val"
26 switch -exact -- $opt {
49 if {[regexp -- {[0-9]+-[0-9]+} $i]} {
52 } elseif {[regexp -- {[0-9]+-} $i]} {
55 } elseif {[regexp -- {-[0-9]+} $i]} {
58 } elseif {[regexp -- {[0-9]+} $i]} {
/macosx-10.9.5/ruby-104/ruby/lib/rdoc/
H A Doptions.rb462 # existent files, creating a regexp for #exclude and setting a default
541 opts = OptionParser.new do |opt|
542 @option_parser = opt
543 opt.program_name = File.basename $0
544 opt.version = RDoc::VERSION
545 opt.release = nil
546 opt.summary_indent = ' ' * 4
547 opt.banner = <<-EOF
548 Usage: #{opt.program_name} [options] [names...]
577 RDoc::Parser.parsers.each do |regexp, parse
[all...]
/macosx-10.9.5/tcl-102/tcl_ext/tcllib/tcllib/apps/
H A Dtcldocstrip202 set opt [lindex $argv 0]
203 if {($opt eq "-") || ![string match "-*" $opt]} {
210 set output $opt
214 lappend stitchbuf $optbuf $opt
219 lappend stitchbuf $opt
228 switch -exact -- $opt {
241 set o -[string range $opt 3 end]
251 lappend options $opt $val
253 lappend optbuf $opt
[all...]
/macosx-10.9.5/ruby-104/ruby/lib/
H A Doptparse.rb230 def self.regexp(key, icase) singleton method in class:OptionParser.Completion
235 pat ||= Completion.regexp(key, icase)
281 def convert(opt = nil, val = nil, *)
453 (sopts+lopts).each do |opt|
455 if opt =~ /^--\[no-\](.+)$/
460 yield("#{opt}", desc.join(""))
532 opt = (val = parse_arg(val, &error))[1]
534 if opt and !arg
656 # Searches list +id+ for +opt+ and the optional patterns for completion
661 def complete(id, opt, icas
[all...]
/macosx-10.9.5/vim-53/src/
H A DMake_vms.mms128 CFLAGS = /opt$(PREFIX)
310 misc2.c move.c normal.c ops.c option.c popupmnu.c quickfix.c regexp.c search.c sha256.c\
321 regexp.obj search.obj sha256.obj spell.obj syntax.obj tag.obj term.obj termlib.obj \
345 -@ if "''F$SEARCH("*.opt")'" .NES. "" then delete/noconfirm/nolog *.opt;*
495 ascii.h keymap.h term.h macros.h structs.h regexp.h \
499 ascii.h keymap.h term.h macros.h structs.h regexp.h \
503 ascii.h keymap.h term.h macros.h structs.h regexp.h gui.h gui_beval.h \
507 ascii.h keymap.h term.h macros.h structs.h regexp.h \
511 ascii.h keymap.h term.h macros.h structs.h regexp
[all...]
H A DMake_ivc.mak247 "$(INTDIR)/regexp.obj" \
280 -@if exist Make_ivc.opt erase Make_ivc.opt
615 SOURCE=.\regexp.c
/macosx-10.9.5/emacs-92/emacs/lisp/
H A Dpcomplete.el133 "*A regexp of filenames to be disregarded during file completion."
134 :type '(choice regexp (const :tag "None" nil))
138 "*A regexp of names to be disregarded during directory completion."
139 :type '(choice regexp (const :tag "None" nil))
526 (defun pcomplete-match (regexp &optional index offset start)
530 (string-match regexp arg start)
695 (defsubst pcomplete-dirs-or-entries (&optional regexp predicate)
699 regexp (or predicate
705 (defun pcomplete-entries (&optional regexp predicate)
722 (if regexp
[all...]
/macosx-10.9.5/ruby-104/ruby/
H A Dre.c523 int options, opt; local
543 opt = char_to_option((int )*ptr);
544 if (opt != 0) {
545 options |= opt;
557 opt = char_to_option((int )*ptr);
558 if (opt != 0) {
559 options &= ~opt;
849 match->regexp = 0;
946 if (!RMATCH(match)->regexp) {
960 RMATCH(obj)->regexp
1046 VALUE regexp = RMATCH(match)->regexp; local
1666 name_to_backref_number(struct re_registers *regs, VALUE regexp, const char* name, const char* name_end) argument
1872 VALUE regexp = RMATCH(match)->regexp; local
2505 rb_reg_new_ary(VALUE ary, int opt) argument
3286 rb_reg_regsub(VALUE str, VALUE src, struct re_registers *regs, VALUE regexp) argument
[all...]
H A Dparse.y459 static NODE *reg_named_capture_assign_gen(struct parser_params* parser, VALUE regexp, NODE *match);
460 #define reg_named_capture_assign(regexp,match) reg_named_capture_assign_gen(parser,(regexp),(match))
759 %type <node> singleton strings string string1 xstring regexp
2573 | regexp
3889 regexp : tREGEXP_BEG regexp_contents tREGEXP_END label
5938 int c, opt, kc;
5945 else if (rb_char_to_option_kcode(c, &opt, &kc)) {
5948 kopt = opt;
5951 options |= opt;
[all...]
H A Dparse.c519 static NODE *reg_named_capture_assign_gen(struct parser_params* parser, VALUE regexp, NODE *match);
520 #define reg_named_capture_assign(regexp,match) reg_named_capture_assign_gen(parser,(regexp),(match))
1584 "regexp", "words", "word_list", "word", "symbols", "symbol_list",
12434 int c, opt, kc; local
12441 else if (rb_char_to_option_kcode(c, &opt, &kc)) {
12444 kopt = opt;
12447 options |= opt;
12458 compile_error(PARSER_ARG "unknown regexp option%s - %s",
12761 compile_error(PARSER_ARG "unterminated regexp meet
16225 int opt, idx; local
16322 reg_named_capture_assign_gen(struct parser_params* parser, VALUE regexp, NODE *match) argument
[all...]
/macosx-10.9.5/tcl-102/tcl_ext/xotcl/xotcl/tests/
H A Dpersistence.test13 array set opt {-bigdb 0 -bench 0}
14 array set opt $argv
46 if {$opt(-bigdb)} {
52 if {$opt(-bench)} {
367 if {![regexp {^(-?[0-9]+) +(.*)$} $time _ ms string]} {
399 if {$opt(-bench)} {
/macosx-10.9.5/ruby-104/ruby/ext/tk/lib/tkextlib/tile/
H A Dstyle.rb151 package require [lsearch -inline -regexp [package names] (ttk|tile)::theme::$theme]
212 def lookup(style, opt, state=None, fallback_value=None)
214 '-' << opt.to_s, state, fallback_value)
/macosx-10.9.5/emacs-92/emacs/lisp/emacs-lisp/
H A Dadvice.el102 ;; this documentation (set `outline-regexp' to `";; @+"').
569 ;; `ad-activate-regexp' and `ad-deactivate-regexp' can be used to de/activate
654 ;; (ad-disable-regexp "^ange-ftp-")
658 ;; (ad-activate-regexp "^ange-ftp-")
662 ;; (ad-update-regexp "^ange-ftp-")
670 ;; `ad-enable-regexp' and then activate or update again.
900 ;; - ad-enable-regexp maps over all currently advised functions and enables
903 ;; - ad-disable-regexp disables matching advices.
905 ;; - ad-activate-regexp activate
[all...]
H A Drx.el32 ;; covers all regexp features, which Sregex doesn't, doesn't suffer
38 ;; that the `repeat' form can't have multiple regexp args.
47 ;; regexp strings. These include: any, word. Also, case-sensitivity
48 ;; and greediness are controlled by variables external to the regexp,
89 ;; (regexp-opt '(STRING1 STRING2 ...))
91 ;; calls `regexp-opt' as needed.
150 (opt . zero-or-one) ; sregex
179 (regexp
[all...]
/macosx-10.9.5/ruby-104/ruby/lib/rdoc/ri/
H A Ddriver.rb113 opts = OptionParser.new do |opt|
114 opt.accept File do |file,|
118 opt.program_name = File.basename $0
119 opt.version = RDoc::VERSION
120 opt.release = nil
121 opt.summary_indent = ' ' * 4
123 opt.banner = <<-EOT
124 Usage: #{opt.program_name} [options] [names...]
147 #{opt.program_name} Fil
148 #{opt
[all...]
/macosx-10.9.5/ruby-104/ruby/ext/tk/lib/tk/
H A Dtext.rb636 args = opts.collect{|opt|
637 str = opt.to_s
1257 # If <pattern> is regexp, then it must be a regular expression of Tcl
1260 opts = args.shift.collect{|opt|
1261 s_opt = opt.to_s
1270 regexp = args.shift
1271 if !nocase && (regexp.options & Regexp::IGNORECASE) != 0
1274 args.unshift(regexp.source)
1290 # If <pattern> is regexp, then it must be a regular expression of Tcl
1293 opts = args.shift.collect{|opt|
[all...]
/macosx-10.9.5/emacs-92/emacs/lib-src/
H A Detags.c70 * 1994 Line-by-line regexp tags by Tom Tromey.
80 * configuration file containing regexp definitions for etags.
309 char *regex; /* search regexp */
311 bool is_func; /* function tag: use regexp in CTAGS mode */
346 typedef struct regexp struct
348 struct regexp *p_next; /* pointer to next in list */
350 char *pattern; /* the regexp pattern */
354 bool error_signaled; /* already signaled for this regexp */
358 } regexp; typedef in typeref:struct:regexp
516 static regexp *p_hea
1193 int opt; local
[all...]
/macosx-10.9.5/emacs-92/emacs/lisp/textmodes/
H A Dtex-mode.el77 (defcustom tex-first-line-header-regexp nil
83 regexp)
332 (let ((section-regexp
333 (concat "\\\\" (regexp-opt (mapcar 'car latex-section-alist) t)
335 (metasection-regexp
336 (concat "\\\\" (regexp-opt latex-metasection-list t)))
342 (if (search-forward-regexp "\\\\part\\*?[ \t]*{" nil t)
344 (if (search-forward-regexp "\\\\chapte
[all...]
H A Dorg.el708 (defcustom org-table-number-regexp
936 will be \"to NAME\". See also the variable `org-from-is-user-regexp'.
947 (defcustom org-from-is-user-regexp
950 (setq r1 (concat "\\<" (regexp-quote user-mail-address) "\\>")))
952 (setq r2 (concat "\\<" (regexp-quote user-full-name) "\\>")))
957 :type 'regexp)
1308 (repeat :tag "By file name regexp"
1309 (cons regexp boolean))))
2671 (defvar org-emphasis-regexp-components) ; defined just below
2677 (boundp 'org-emphasis-regexp
[all...]
/macosx-10.9.5/ruby-104/ruby/ext/tk/lib/
H A Dtk.rb82 # GET_CONFIGINFO_AS_ARRAY = false => returns a Hash { opt =>val, ... }
83 # true => returns an Array [[opt,val], ... ]
88 # for configinfo without resource info; list of [opt, value] pair
89 # false => returns a Hash { opt=>val, ... }
90 # true => returns an Array [[opt,val], ... ]
668 *(opts.collect{|opt|
669 opt = opt.to_s
670 (opt[0] == ?-)? opt
[all...]
/macosx-10.9.5/ruby-104/ruby/ext/ripper/
H A Dripper.c519 static NODE *reg_named_capture_assign_gen(struct parser_params* parser, VALUE regexp, NODE *match);
520 #define reg_named_capture_assign(regexp,match) reg_named_capture_assign_gen(parser,(regexp),(match))
1584 "regexp", "words", "word_list", "word", "symbols", "symbol_list",
12524 int c, opt, kc; local
12531 else if (rb_char_to_option_kcode(c, &opt, &kc)) {
12534 kopt = opt;
12537 options |= opt;
12548 compile_error(PARSER_ARG "unknown regexp option%s - %s",
12851 compile_error(PARSER_ARG "unterminated regexp meet
16315 int opt, idx; local
16412 reg_named_capture_assign_gen(struct parser_params* parser, VALUE regexp, NODE *match) argument
[all...]
H A Dripper.y459 static NODE *reg_named_capture_assign_gen(struct parser_params* parser, VALUE regexp, NODE *match);
460 #define reg_named_capture_assign(regexp,match) reg_named_capture_assign_gen(parser,(regexp),(match))
759 %type <val> singleton strings string string1 xstring regexp
2573 | regexp
3889 regexp : tREGEXP_BEG regexp_contents tREGEXP_END label
5938 int c, opt, kc;
5945 else if (rb_char_to_option_kcode(c, &opt, &kc)) {
5948 kopt = opt;
5951 options |= opt;
[all...]
/macosx-10.9.5/ncurses-42/ncurses/
H A Dconfigure7109 test "/opt" != "$prefix" && \
7110 test -d "/opt" && \
7112 test -n "$verbose" && echo " ... testing for include-directories under /opt"
7113 test -d /opt/include && cf_search="$cf_search /opt/include"
7114 test -d /opt/include/utf8 && cf_search="$cf_search /opt/include/utf8"
7115 test -d /opt/include/utf8/include && cf_search="$cf_search /opt/include/utf8/include"
7116 test -d /opt/utf
[all...]

Completed in 257 milliseconds

12