Home | History | Annotate | Line # | Download | only in regex
WHATSNEW revision 1.1
      1 New in alpha3.1:  Basically nothing, this release is just a bookkeeping
      2 convenience.  Stay tuned.
      3 
      4 New in alpha3.0:  Performance is no better, alas, but some fixes have been
      5 made and some functionality has been added.  (This is basically the "get
      6 it out the door in time for 4.4" release.)  One bug fix:  regfree() didn't
      7 free the main internal structure (how embarrassing).  It is now possible
      8 to put NULs in either the RE or the target string, using (resp.) a new
      9 REG_PEND flag and the old REG_STARTEND flag.  The REG_NOSPEC flag to
     10 regcomp() makes all characters ordinary, so you can match a literal
     11 string easily (this will become more useful when performance improves!).
     12 There are now primitives to match beginnings and ends of words, although
     13 the syntax is disgusting and so is the implementation.  The REG_ATOI
     14 debugging interface has changed a bit.  And there has been considerable
     15 internal cleanup of various kinds.
     16 
     17 New in alpha2.3:  Split change list out of README, and moved flags notes
     18 into Makefile.  Macro-ized the name of regex(7) in regex(3), since it has
     19 to change for 4.4BSD.  Cleanup work in engine.c, and some new regression
     20 tests to catch tricky cases thereof.
     21 
     22 New in alpha2.2:  Out-of-date manpages updated.  Regerror() acquires two
     23 small extensions -- REG_ITOA and REG_ATOI -- which avoid debugging kludges
     24 in my own test program and might be useful to others for similar purposes.
     25 The regression test will now compile (and run) without REDEBUG.  The
     26 BRE \$ bug is fixed.  Most uses of "uchar" are gone; it's all chars now.
     27 Char/uchar parameters are now written int/unsigned, to avoid possible
     28 portability problems with unpromoted parameters.  Some unsigned casts have
     29 been introduced to minimize portability problems with shifting into sign
     30 bits.
     31 
     32 New in alpha2.1:  Lots of little stuff, cleanup and fixes.  The one big
     33 thing is that regex.h is now generated, using mkh, rather than being
     34 supplied in the distribution; due to circularities in dependencies,
     35 you have to build regex.h explicitly by "make h".  The two known bugs
     36 have been fixed (and the regression test now checks for them), as has a
     37 problem with assertions not being suppressed in the absence of REDEBUG.
     38 No performance work yet.
     39 
     40 New in alpha2:  Backslash-anything is an ordinary character, not an
     41 error (except, of course, for the handful of backslashed metacharacters
     42 in BREs), which should reduce script breakage.  The regression test
     43 checks *where* null strings are supposed to match, and has generally
     44 been tightened up somewhat.  Small bug fixes in parameter passing (not
     45 harmful, but technically errors) and some other areas.  Debugging
     46 invoked by defining REDEBUG rather than not defining NDEBUG.
     47 
     48 New in alpha+3:  full prototyping for internal routines, using a little
     49 helper program, mkh, which extracts prototypes given in stylized comments.
     50 More minor cleanup.  Buglet fix:  it's CHAR_BIT, not CHAR_BITS.  Simple
     51 pre-screening of input when a literal string is known to be part of the
     52 RE; this does wonders for performance.
     53 
     54 New in alpha+2:  minor bits of cleanup.  Notably, the number "32" for the
     55 word width isn't hardwired into regexec.c any more, the public header
     56 file prototypes the functions if __STDC__ is defined, and some small typos
     57 in the manpages have been fixed.
     58 
     59 New in alpha+1:  improvements to the manual pages, and an important
     60 extension, the REG_STARTEND option to regexec().
     61