Fix handling of the FLAGS argument in `fold-matches'.
authorLudovic Courtès <ludo@gnu.org>
Thu, 25 Sep 2008 19:07:06 +0000 (21:07 +0200)
committerLudovic Courtès <ludo@gnu.org>
Thu, 25 Sep 2008 19:07:06 +0000 (21:07 +0200)
commitc6333102655783c91b3ce733dde7ce79b362e1cf
treef48f71b0862b4928c2bde8eccd23edcaee1b98ce
parentfb2f8886c4d537b0c7d3e9e78a8d4e5e272a36f4
Fix handling of the FLAGS argument in `fold-matches'.

* ice-9/regex.scm (fold-matches): If FLAGS is non-null, use
  `(car flags)', not `flags'.

* test-suite/tests/regexp.test ("fold-matches"): New test prefix.

* NEWS: Update.
NEWS
ice-9/regex.scm
test-suite/tests/regexp.test