On 08/18/2012 06:16 PM, José Romildo Malaquias wrote:
Hello.

It seems that the regex-pcre has a bug dealing with utf-8:

I hope this bug can be fixed soon.

Is there a bug tracker to report the bug? If so, what is it?

You need something like that

let pat = makeRegexOpts (compUTF8 .|. defaultCompOpt) defaultExecOpt ("@'(.+?)'@" :: B.ByteString)

and than pat will match correctly.


_______________________________________________
Haskell-Cafe mailing list
Haskell-Cafe@haskell.org
http://www.haskell.org/mailman/listinfo/haskell-cafe

Reply via email to