[TRE-general] Bug in wide char matching with backtracking?

George_Harpur at kofax.com George_Harpur at kofax.com
Wed Jan 31 13:22:12 EET 2007


Is this a bug with wide char matching?
I compile the RE

\d{1,2}([-./])\d{1,2}\1\d{2}

and match it against

12/12/12

All works fine when the match is done using regexec (it matches the entire 
string), but passing the equivalent wide string to regwexec results in a 
match that omits the first character.  Generally, I've found that any 
match on a wide string that uses backtracking either fails completely, or 
only returns a partial match.
I'm using 0.7.5 compiled on Win32 (Visual C 6.0)
George
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://laurikari.net/pipermail/tre-general/attachments/20070131/3e8f3246/attachment.html 


More information about the TRE-general mailing list