The Racket repository
Go to file
Eli Barzilay 5b9f0aa322 Implemented a `no-empty-edge-matches' function using the new
`make-regexp-tweaker', which produces a regexp that cannot match an
empty string at the beginning or the end of the input.  This:
* simplies a whole bunch of messy and fragile code
* makes `regexp-split' and friends usable with a pattern like #px"\\b"
  (which previously would match in every position, making it explode
  the string to 1-character strings)
* makes it even closer to what perl does, the only way that we produce
  a different result from perl now is that we don't blindly drop empty
  matches at the end like perl (it *does* keep empty matches in the
  beginning though)
The two tests that demonstrated the difference are now changed, and a
bunch of other tests added.

svn: r12575
2008-11-23 05:40:54 +00:00
collects Implemented a `no-empty-edge-matches' function using the new 2008-11-23 05:40:54 +00:00
doc svn: r12521 2008-11-20 02:15:01 +00:00
man/man1 svn: r10369 2008-06-19 05:48:53 +00:00
src change internal definition expansion, simplifying, fixing douplicate-id checking, and fixing binding resolution through extensible ribs 2008-11-21 13:49:10 +00:00