j
k
j a
j l
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)]
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)]
Back to the thread
Back to the list