WHATSNEW revision 1.1
11.1SjtcNew in alpha3.1: Basically nothing, this release is just a bookkeeping 21.1Sjtcconvenience. Stay tuned. 31.1Sjtc 41.1SjtcNew in alpha3.0: Performance is no better, alas, but some fixes have been 51.1Sjtcmade and some functionality has been added. (This is basically the "get 61.1Sjtcit out the door in time for 4.4" release.) One bug fix: regfree() didn't 71.1Sjtcfree the main internal structure (how embarrassing). It is now possible 81.1Sjtcto put NULs in either the RE or the target string, using (resp.) a new 91.1SjtcREG_PEND flag and the old REG_STARTEND flag. The REG_NOSPEC flag to 101.1Sjtcregcomp() makes all characters ordinary, so you can match a literal 111.1Sjtcstring easily (this will become more useful when performance improves!). 121.1SjtcThere are now primitives to match beginnings and ends of words, although 131.1Sjtcthe syntax is disgusting and so is the implementation. The REG_ATOI 141.1Sjtcdebugging interface has changed a bit. And there has been considerable 151.1Sjtcinternal cleanup of various kinds. 161.1Sjtc 171.1SjtcNew in alpha2.3: Split change list out of README, and moved flags notes 181.1Sjtcinto Makefile. Macro-ized the name of regex(7) in regex(3), since it has 191.1Sjtcto change for 4.4BSD. Cleanup work in engine.c, and some new regression 201.1Sjtctests to catch tricky cases thereof. 211.1Sjtc 221.1SjtcNew in alpha2.2: Out-of-date manpages updated. Regerror() acquires two 231.1Sjtcsmall extensions -- REG_ITOA and REG_ATOI -- which avoid debugging kludges 241.1Sjtcin my own test program and might be useful to others for similar purposes. 251.1SjtcThe regression test will now compile (and run) without REDEBUG. The 261.1SjtcBRE \$ bug is fixed. Most uses of "uchar" are gone; it's all chars now. 271.1SjtcChar/uchar parameters are now written int/unsigned, to avoid possible 281.1Sjtcportability problems with unpromoted parameters. Some unsigned casts have 291.1Sjtcbeen introduced to minimize portability problems with shifting into sign 301.1Sjtcbits. 311.1Sjtc 321.1SjtcNew in alpha2.1: Lots of little stuff, cleanup and fixes. The one big 331.1Sjtcthing is that regex.h is now generated, using mkh, rather than being 341.1Sjtcsupplied in the distribution; due to circularities in dependencies, 351.1Sjtcyou have to build regex.h explicitly by "make h". The two known bugs 361.1Sjtchave been fixed (and the regression test now checks for them), as has a 371.1Sjtcproblem with assertions not being suppressed in the absence of REDEBUG. 381.1SjtcNo performance work yet. 391.1Sjtc 401.1SjtcNew in alpha2: Backslash-anything is an ordinary character, not an 411.1Sjtcerror (except, of course, for the handful of backslashed metacharacters 421.1Sjtcin BREs), which should reduce script breakage. The regression test 431.1Sjtcchecks *where* null strings are supposed to match, and has generally 441.1Sjtcbeen tightened up somewhat. Small bug fixes in parameter passing (not 451.1Sjtcharmful, but technically errors) and some other areas. Debugging 461.1Sjtcinvoked by defining REDEBUG rather than not defining NDEBUG. 471.1Sjtc 481.1SjtcNew in alpha+3: full prototyping for internal routines, using a little 491.1Sjtchelper program, mkh, which extracts prototypes given in stylized comments. 501.1SjtcMore minor cleanup. Buglet fix: it's CHAR_BIT, not CHAR_BITS. Simple 511.1Sjtcpre-screening of input when a literal string is known to be part of the 521.1SjtcRE; this does wonders for performance. 531.1Sjtc 541.1SjtcNew in alpha+2: minor bits of cleanup. Notably, the number "32" for the 551.1Sjtcword width isn't hardwired into regexec.c any more, the public header 561.1Sjtcfile prototypes the functions if __STDC__ is defined, and some small typos 571.1Sjtcin the manpages have been fixed. 581.1Sjtc 591.1SjtcNew in alpha+1: improvements to the manual pages, and an important 601.1Sjtcextension, the REG_STARTEND option to regexec(). 61