> How do I use Text.Regex.PCRE to get information on multiple matches? For > instance, in ghci I get this error message: > > Prelude Text.Regex.PCRE> "foo" =~ "o" :: [(Int,Int)] Solved; do getAllMatches ("foo" =~ "o") :: [(Int, Int)]