
3 Mar
2011
3 Mar
'11
11:52 p.m.
On 4 March 2011 10:43, Don Stewart
The regex-* packages are polymorphic in the string type they accept, so it should be possible to use them with bytestrings.
E.g.
* http://hackage.haskell.org/package/regex-pcre * http://hackage.haskell.org/package/regex-posix * http://hackage.haskell.org/package/regex-tdfa
(you can choose which regex automata you like)
And have a look at the RWH chapter on regexes to get an idea of how to use them: http://book.realworldhaskell.org/read/efficient-file-processing-regular-expr... -- Ivan Lazar Miljenovic Ivan.Miljenovic@gmail.com IvanMiljenovic.wordpress.com