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