[TRE-general] wchar backtracking glitches
Ville Laurikari
ville at laurikari.net
Sun Dec 2 10:05:44 EET 2007
On Wed, Nov 28, 2007 at 05:33:04AM +0100, Wolfgang Jenkner wrote:
> In [1] was pointed out that
>
> any match on a wide string that uses backtracking either fails
> completely, or only returns a partial match.
>
> Since I've also stumbled across such cases I looked a bit into this
> (see the first patch in the darcs bundle below).
Excellent, thank you very much!
Your patches look good, and appear to work. I'm going to apply them
as-is into the devel repo, and they'll be included in the next
release.
One thing, I'd prefer to use en_US.ISO-8859-1 as the 8-bit test locale
instead of the fi_FI one. The english version is probably present on
more systems. And, if setting locale fails, we should just skip the
tests which use non-ASCII chars. I'll do that change on top of your
patches.
--
http://www.iki.fi/vl/
More information about the TRE-general
mailing list