comparison lisp/emacs-lisp/rx.el @ 98489:0caa21a4a7aa

(rx): Docstring fix.
author Stefan Monnier <monnier@iro.umontreal.ca>
date Fri, 03 Oct 2008 14:12:31 +0000
parents 79b5ceb92151
children 73eaaf9adee6
comparison
equal deleted inserted replaced
98488:9dd7c9d75f4b 98489:0caa21a4a7aa
876 `(submatch SEXP1 SEXP2 ...)' 876 `(submatch SEXP1 SEXP2 ...)'
877 `(group SEXP1 SEXP2 ...)' 877 `(group SEXP1 SEXP2 ...)'
878 like `and', but makes the match accessible with `match-end', 878 like `and', but makes the match accessible with `match-end',
879 `match-beginning', and `match-string'. 879 `match-beginning', and `match-string'.
880 880
881 `(group SEXP1 SEXP2 ...)'
882 another name for `submatch'.
883
884 `(or SEXP1 SEXP2 ...)' 881 `(or SEXP1 SEXP2 ...)'
885 `(| SEXP1 SEXP2 ...)' 882 `(| SEXP1 SEXP2 ...)'
886 matches anything that matches SEXP1 or SEXP2, etc. If all 883 matches anything that matches SEXP1 or SEXP2, etc. If all
887 args are strings, use `regexp-opt' to optimize the resulting 884 args are strings, use `regexp-opt' to optimize the resulting
888 regular expression. 885 regular expression.