Mercurial > hg > xemacs-beta
comparison lisp/utils/auto-autoloads.el @ 197:acd284d43ca1 r20-3b25
Import from CVS: tag r20-3b25
author | cvs |
---|---|
date | Mon, 13 Aug 2007 10:00:02 +0200 |
parents | a2f645c6b9f8 |
children | 850242ba4a81 |
comparison
equal
deleted
inserted
replaced
196:58e0786448ca | 197:acd284d43ca1 |
---|---|
804 ;;;### (autoloads (regexp-opt-depth regexp-opt) "regexp-opt" "utils/regexp-opt.el") | 804 ;;;### (autoloads (regexp-opt-depth regexp-opt) "regexp-opt" "utils/regexp-opt.el") |
805 | 805 |
806 (autoload 'regexp-opt "regexp-opt" "\ | 806 (autoload 'regexp-opt "regexp-opt" "\ |
807 Return a regexp to match a string in STRINGS. | 807 Return a regexp to match a string in STRINGS. |
808 Each string should be unique in STRINGS and should not contain any regexps, | 808 Each string should be unique in STRINGS and should not contain any regexps, |
809 quoted or not. If optional PAREN is non-nil, ensure that the returned regexp | 809 quoted or not. If optional PAREN is non-nil, ensure that the returned |
810 is enclosed by at least one regexp grouping construct. | 810 regexp is enclosed by at least one regexp match grouping construct. If |
811 optional NON-SHY is non nil, the inner groupings will use \"\\\\( \\\\)\" grouping, | |
812 rather than the default \"\\\\(?: \\\\)\" 'shy', or non-match-capturing groups. | |
811 The returned regexp is typically more efficient than the equivalent regexp: | 813 The returned regexp is typically more efficient than the equivalent regexp: |
812 | 814 |
813 (let ((open-paren (if PAREN \"\\\\(\" \"\")) (close-paren (if PAREN \"\\\\)\" \"\"))) | 815 (let ((open-paren (if PAREN \"\\\\(\" \"\")) (close-paren (if PAREN \"\\\\)\" \"\"))) |
814 (concat open-paren (mapconcat 'regexp-quote STRINGS \"\\\\|\") close-paren)) | 816 (concat open-paren (mapconcat 'regexp-quote STRINGS \"\\\\|\") close-paren)) |
815 | 817 |
817 Use `regexp-opt-depth' to count them." nil nil) | 819 Use `regexp-opt-depth' to count them." nil nil) |
818 | 820 |
819 (autoload 'regexp-opt-depth "regexp-opt" "\ | 821 (autoload 'regexp-opt-depth "regexp-opt" "\ |
820 Return the depth of REGEXP. | 822 Return the depth of REGEXP. |
821 This means the number of regexp grouping constructs (parenthesised expressions) | 823 This means the number of regexp grouping constructs (parenthesised expressions) |
822 in REGEXP." nil nil) | 824 in REGEXP, not counting the \"\\\\(?: \\\\)\" non-match-capturing groups unless |
825 COUNT-SHY-GROUPS-TOO is non-nil. | |
826 See `regexp-opt'." nil nil) | |
823 | 827 |
824 ;;;*** | 828 ;;;*** |
825 | 829 |
826 ;;;### (autoloads (reporter-submit-bug-report) "reporter" "utils/reporter.el") | 830 ;;;### (autoloads (reporter-submit-bug-report) "reporter" "utils/reporter.el") |
827 | 831 |