> 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)]

_______________________________________________
Haskell-Cafe mailing list
[email protected]
http://www.haskell.org/mailman/listinfo/haskell-cafe

Reply via email to