[Haskell-cafe] a problem about Regex in Real World Haskell

wolf python london lyh19901223 at gmail.com
Fri Nov 12 21:26:46 EST 2010

hi ,folks ,

I'm a newbie of haskell  and learn haskell using the textbook "Real
World Haskell".

in the page 201,

ghci> "good food" =~ ".ood" :: [String]

my output is here https://gist.github.com/675024
it doesn't match what the textbook gives . And I found the ebook of
Real World Haskell doesn't match it ,either(just like my output ) .
I was wondering How I can fix this problem about Regex.

much thanks ~
wolf python london(WPL)
Do as you soul should do !

More information about the Haskell-Cafe mailing list