Update copyright and leading comment.
commitc00562751d8c1292fb615492a2401462ec1de00c
authorStefan Monnier <monnier@iro.umontreal.ca>
Thu, 9 Mar 2000 00:45:15 +0000 (9 00:45 +0000)
committerStefan Monnier <monnier@iro.umontreal.ca>
Thu, 9 Mar 2000 00:45:15 +0000 (9 00:45 +0000)
treee9cb2d172356589e0070237528ab50a0b5a9bd42
parente3f9c7f8fcccc19df43d0326664fcf4c1ea918a5
Update copyright and leading comment.
(regexp-opt): Update comment and adapt the code the new meaning of the
`paren' argument of regex-opt-group for shy-groups.
(regexp-opt-depth): Handle shy groups as well as backslashed backslashes.
(regexp-opt-group): Turn the leading comment into a docstring.
Allow `paren' to be a string (the string to use to open a group).
Remove open-presuf and close-presuf.
Instead of checking for `all one-char' and then later on check for
`several one-char', handle both cases close together.
Also apply a more generic algorithm for suffixes (the mirror image
of the algorithm used for prefixes).
Use shy-groups.
\Use nreverse rather than reverse.
(regexp-opt-try-suffix): Removed.
lisp/ChangeLog
lisp/emacs-lisp/regexp-opt.el