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.Regex> matchRegex (mkRegex $ "^.*$") s Nothing Prelude Text.Regex> matchRegex (mkRegex $ ".") s Nothing
I mentioned this to upstream and he said: | That looks like it is pushing the unicode text to your system C library for | matching. This translation is probably making a multibyte C-string and then | running a non-Unicode aware C-library call. | | You will need to check your setup. | | It is true there are some bugs in this, but they are in the translating of | indices, which does not apply here. -- System Information: Debian Release: 7.0 APT prefers unstable APT policy: (500, 'unstable'), (500, 'testing'), (1, 'experimental') Architecture: i386 (i686) Kernel: Linux 3.2.0-4-686-pae (SMP w/2 CPU cores) Locale: LANG=en_US.utf8, LC_CTYPE=en_US.utf8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/dash Versions of packages libghc-regex-compat-dev depends on: ii ghc [libghc-base-dev-4.5.0.0-c8e71] 7.4.1-4 ii libc6 2.13-38 ii libffi5 3.0.10-3 pn libghc-array-dev-0.4.0.0-0b32f <none> ii libghc-regex-base-dev [libghc-regex-base-dev-0.93.2-f7342] 0.93.2-2+b2 ii libghc-regex-posix-dev [libghc-regex-posix-dev-0.95.1-2f35a 0.95.1-2+b1 ii libgmp10 2:5.0.5+dfsg-2 libghc-regex-compat-dev recommends no packages. Versions of packages libghc-regex-compat-dev suggests: ii libghc-regex-compat-doc 0.95.1-2 ii libghc-regex-compat-prof 0.95.1-2+b1 -- no debconf information -- see shy jo
signature.asc
Description: Digital signature