[Haskell-cafe] regex and Unicode

Francesco Ariis fa-ml at ariis.it
Thu Sep 8 08:52:46 UTC 2016


On Thu, Sep 08, 2016 at 04:53:13AM -0400, Brian Sammon wrote:
> I have a test-case here if anyone would like to look at it and give
> me a "Works For Me" or "Your code's wrong" or something.
> 
> The program should (i.e. I expect it to) report that it found "Page
> Title", but in my case, it says it found "age Title'".

$ runghc test.hs
title is |Page Title|

Debian stable (Jessie). Maybe locale is interfering with something?
Mine is

    LANG=en_GB.UTF-8
    LANGUAGE=en_GB:en


More information about the Haskell-Cafe mailing list