Text.Regex library with bytestrings?

24 May
2010
24 May
'10
6:31 p.m.
Is it possible to use the Text.Regex API with ByteStrings instead of Strings? It looks like there is support for using PCREs with either Strings and ByteStrings, but if you want to use the high-level API in Text.Regex (ie, mkRegex, matchRegexAll, etc), you have to use Strings. For Bytestrings, you can use the lower level API in Text.Regex.Posix.ByteString, but then you are in the IO monad, which I'd rather avoid. Am I missing something? Thanks for any pointers! Kathleen
5479
Age (days ago)
5479
Last active (days ago)
0 comments
1 participants
participants (1)
-
Kathleen Fisher