Server IP : 111.118.215.189 / Your IP : 13.59.31.221 Web Server : Apache System : Linux md-in-83.webhostbox.net 4.19.286-203.ELK.el7.x86_64 #1 SMP Wed Jun 14 04:33:55 CDT 2023 x86_64 User : a1673wkz ( 2475) PHP Version : 8.2.25 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON Directory (0755) : /usr/share/emacs/24.3/lisp/emacs-lisp/ |
[ Home ] | [ C0mmand ] | [ Upload File ] |
---|
;ELC ;;; Compiled by mockbuild@buildfarm06-new.corp.cloudlinux.com on Fri Oct 11 10:12:51 2024 ;;; from file /builddir/build/BUILD/emacs-24.3/lisp/emacs-lisp/regexp-opt.el ;;; in Emacs version 24.3 ;;; with all optimizations. ;;; This file uses dynamic docstrings, first added in Emacs 19.29. ;;; This file does not contain utf-8 non-ASCII characters, ;;; and so can be loaded in Emacs versions earlier than 23. ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; #@654 Return a regexp to match a string in the list STRINGS. Each string should be unique in STRINGS and should not contain any regexps, quoted or not. If optional PAREN is non-nil, ensure that the returned regexp is enclosed by at least one regexp grouping construct. The returned regexp is typically more efficient than the equivalent regexp: (let ((open (if PAREN "\\(" "")) (close (if PAREN "\\)" ""))) (concat open (mapconcat 'regexp-quote STRINGS "\\|") close)) If PAREN is `words', then the resulting regexp is additionally surrounded by \=\< and \>. If PAREN is `symbols', then the resulting regexp is additionally surrounded by \=\_< and \_>. (defalias 'regexp-opt #[(strings &optional paren) "\306 \307\216\310\211\311\211 ;\203 \202 \205 \312\313\314\315!\316\"!\317\2061 \320?# \321=\203E \322\323Q\202U \324=\203S \325\326Q\202U . \207" [save-match-data-internal max-lisp-eval-depth max-specpdl-size completion-ignore-case completion-regexp-list paren match-data ((byte-code "\301\302\"\207" [save-match-data-internal set-match-data evaporate] 3)) 10000 nil "\\(" delete-dups sort copy-sequence string-lessp regexp-opt-group t words "\\<" "\\>" symbols "\\_<" "\\_>" open strings sorted-strings re] 5 (#$ . 563)]) #@128 Return the depth of REGEXP. This means the number of non-shy regexp grouping constructs (parenthesized expressions) in REGEXP. (defalias 'regexp-opt-depth #[(regexp) "\305 \306\216\307 \310\"\210\311\312\211\307\313 #\2031 \311\225\314\224\204 \315 \311\224\n#\203 \fT\202 \f-\207" [save-match-data-internal regexp last start count match-data ((byte-code "\301\302\"\207" [save-match-data-internal set-match-data evaporate] 3)) string-match "" 0 nil "\\\\(\\(\\?[0-9]*:\\)?" 1 subregexp-context-p] 4 (#$ . 1830)]) #@265 Return a regexp to match a string in the sorted list STRINGS. If PAREN non-nil, output regexp parentheses around returned regexp. If LAX non-nil, don't output parentheses if it doesn't require them. Merges keywords to avoid backtracking in Emacs's regexp matcher. (defalias 'regexp-opt-group #[(strings &optional paren lax) ";\203 \202 \203 \306\202 \307\203 \310\202 \307\203% \307\202&