Commit graph

35 commits

Author SHA1 Message Date
Glenn Morris
e0085d62fa Switch license to GPLv3 or later. 2007-07-25 04:14:29 +00:00
Glenn Morris
f0fa15c5e5 Add 2007 to copyright years. 2007-01-21 02:48:43 +00:00
Glenn Morris
d59c31376c Update copyright years. 2006-12-07 05:06:17 +00:00
Juanma Barranquero
784c9f3c22 (regexp-opt): Doc fix. 2006-11-19 17:49:47 +00:00
Thien-Thi Nguyen
ceb4c4d303 Update years in copyright notice; nfc. 2006-02-06 12:31:40 +00:00
Thien-Thi Nguyen
3731a85096 Update years in copyright notice; nfc. 2005-08-06 17:48:15 +00:00
Lute Kamstra
3a35cf56e7 Update FSF's address. 2005-07-04 17:55:18 +00:00
Juanma Barranquero
8665b2b6d7 (regexp-opt-depth): Fix spelling in docstrings. 2005-06-16 16:14:56 +00:00
Stefan Monnier
22864a4875 (regexp-opt-depth): Use subregexp-context-p.
(regexp-opt-not-groupie*-re): Remove.
(regexp-opt): Properly handle inputs with duplicate entries.
2004-12-06 15:12:46 +00:00
Miles Bader
ab5796a9f9 Add arch taglines 2003-09-01 15:45:59 +00:00
Juanma Barranquero
59b2ee6929 (regexp-opt-depth): Don't count a "//(" which appears inside a character set.
(regexp-opt-not-groupie*-re): New constant.
2003-04-26 23:29:45 +00:00
Juanma Barranquero
a1506d2977 Trailing whitepace deleted. 2003-02-04 13:24:35 +00:00
Stefan Monnier
94abe30b0c (regexp-opt-group): Undo last change. Fix the docstring instead. 2003-01-20 21:37:02 +00:00
Richard M. Stallman
2afd5e90eb (regexp-opt-group): Compute HALF2 properly. 2003-01-20 09:00:48 +00:00
Stefan Monnier
91fc05b1ae (regexp-opt-group): Don't cons uselessly. 2002-06-18 21:52:42 +00:00
Richard M. Stallman
f3bd3e5ff1 (regexp-opt): Bind max-specpdl-size. 2002-01-09 00:31:58 +00:00
Stefan Monnier
08cf00d8f7 (regexp-opt): Bind completion-regexp-list to nil. 2001-12-01 22:04:12 +00:00
Stefan Monnier
5faa1e9c9f Typo. 2001-11-28 03:06:45 +00:00
Stefan Monnier
3ccfa82a6c (regexp-opt-depth): Fix off-by-two error. 2001-11-28 03:06:10 +00:00
Pavel Janík
5553563924 Some fixes to follow coding conventions in files maintained by FSF. 2001-07-15 16:15:35 +00:00
Stefan Monnier
7e1d6bdb40 (regexp-opt-group): Sort the strings when extracting a suffix. 2000-11-05 19:07:07 +00:00
Stefan Monnier
908bb42fa1 (regexp-opt): Add \< and \> if PAREN=`words'. 2000-10-08 18:50:43 +00:00
Stefan Monnier
bba6564ccf (regexp-opt-group): Put more parenthesis. 2000-10-01 00:08:49 +00:00
Stefan Monnier
5cda4b07fa (make-bool-vector): Remove.
(regexp-opt-group): Use a list of chars for `letters'.
(regexp-opt-charset): `chars' is now a list of chars.
Use a char-table rather than a vector so it works for multibyte chars.
2000-08-09 15:49:33 +00:00
Stefan Monnier
ac5cb26d90 (regexp-opt-depth): Fix regexp. 2000-05-10 22:43:28 +00:00
Dave Love
370893a14a Add `extensions' to Keywords. 2000-03-30 11:00:35 +00:00
Stefan Monnier
c00562751d 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.
2000-03-09 00:45:15 +00:00
Dave Love
fcc31755c5 Change maintainer. 2000-02-02 16:00:17 +00:00
Gerd Moellmann
b02b54a8ba (regexp-opt-try-suffix): New function.
(regexp-opt-group): Use it to get common suffixes in STRINGS.
If STRINGS is nil, return "" rather than nil.
1999-10-08 23:06:15 +00:00
Karl Heuer
5762abecd3 Fix maintainer address. 1999-08-16 04:04:27 +00:00
Karl Heuer
e011fd6b5c (regexp-opt-group): Avoid infinite
recursion on bogus input.
1999-06-04 18:36:35 +00:00
Richard M. Stallman
582305b09b (regexp-opt): Doc fix. 1997-09-07 01:24:23 +00:00
Simon Marshall
9b51ba9e8a simplify. 1997-06-27 07:22:37 +00:00
Simon Marshall
25544ce1bd emit charsets after strings so that the final regexp finds the longest match. 1997-06-06 07:10:24 +00:00
Richard M. Stallman
56329bc5ed Initial revision 1997-05-29 03:01:51 +00:00