Sync with FreeBSD cp.
[dragonfly.git] / gnu / lib / libregex / NEWS
1 Version 0.12
2
3 * regex.c does not #define bcmp/bcopy/bzero if they already are.
4
5 * regex.h does not redefine `const' if it is already defined, even if
6   __STDC__ is not defined.
7
8 * RE_SYNTAX_ED added (same as POSIX BRE's).
9
10 * The following bugs have been fixed, among others:
11   * The pattern \w+ doesn't infinite loop.
12   * The pattern ".+\n" is compiled correctly.
13   * Expressions with more than MAX_REGNUM groups are compiled correctly.
14
15 * Patterns that end in a repetition operator (e.g., `*') match
16   slightly faster if no looping is actually necessary.
17 \f
18 Version 0.11 (17 Sep 92)
19
20 * Back-references to nonexistent subexpressions, as in the r.e. `abc\1',
21   are always invalid.  Previously, they could match the literal digit,
22   e.g., the stated r.e. might have matched `abc1'.
23
24 * Empty subexpressions are always valid (POSIX leaves this undefined).
25
26 * Simplified rules for ^ and $ being anchors.
27
28 * One minor speedup (rewriting the C procedure `pop_failure_point' as a
29   macro again).
30
31 * Bug fixes involving:
32     - Declarations in regex.h and non-ANSI compilers.
33     - Bracket expressions with characters between 0x80-0xff.
34     - Memory leak in re_match_2 on systems requiring `alloca (0)' to
35       free alloca'd storage.
36
37 * Test and documentation files moved into subdirectories.
38 \f
39 Version 0.10 (9 Sep 92)
40
41 * `obscure_syntax' is now called `re_default_syntax'.
42
43 * `re_comp's return type is no longer `const', for compatibility with BSD.
44
45 * POSIX syntaxes now include as much functionality as possible
46   (consistent with the standard).
47
48 * Compilation conditionals normalized to what the rest of GNU is
49   migrating towards these days.
50
51 * Bug fixes involving:
52     - Ranges with characters between 0x80 and 0xff, e.g., [\001-\377].
53     - `re_compile_fastmap' and the sequence `.*\n'.
54     - Intervals with exact counts, e.g., a{5}.
55
56 * Changed distribution to use a standard Makefile, install the info
57   files, use a configure script, etc.
58 \f
59 Version 0.9
60
61 * The longest match was not always chosen: `a*|ab' didn't match `aab'.
62