Bug#702617: [Pkg-haskell-maintainers] Bug#702617: . fails to match certian characters

2013-03-11 Thread Joey Hess
Joachim Breitner wrote: > I can reproduce it from within ghc’s address space using gdb: > > (gdb) call malloc(32) > $7 = 64943120 > (gdb) call regcomp(64943120, ".", 0) > $8 = 0 > (gdb) call regexec(64943120,"\242",0,0,0) > $9 = 1 > (gdb) call regexec(64943120,"only_ascii",0,0,0) > $10 = 0 > > An

Bug#702617: [Pkg-haskell-maintainers] Bug#702617: . fails to match certian characters

2013-03-11 Thread Joachim Breitner
Hi, Am Samstag, den 09.03.2013, 11:52 -0400 schrieb Joey Hess: > Joachim Breitner wrote: > > regex-compat is but a thin layour around regex-posix, which states > > Note that the posix library works with single byte characters, > > and does not understand Unicode. If you need Unicod

Bug#702617: [Pkg-haskell-maintainers] Bug#702617: . fails to match certian characters

2013-03-09 Thread Joey Hess
Joachim Breitner wrote: > regex-compat is but a thin layour around regex-posix, which states > Note that the posix library works with single byte characters, > and does not understand Unicode. If you need Unicode support you > will have to use a different backend.¹ Right. H

Bug#702617: [Pkg-haskell-maintainers] Bug#702617: . fails to match certian characters

2013-03-09 Thread Joachim Breitner
Hi Joey, Am Freitag, den 08.03.2013, 21:43 -0400 schrieb Joey Hess: > Package: libghc-regex-compat-dev > Version: 0.95.1-2+b1 > Severity: normal > > Prelude Text.Regex> matchRegex (mkRegex $ "^.*$") "o" > Just [] > Prelude Text.Regex> let s = "ò" > Prelude Text.Regex> s > "\242" > Prelude Text.Re