[Haskell-cafe] multi-line regex

Michael Mossey mpm at alumni.caltech.edu
Wed Nov 4 00:35:33 EST 2009


I have some very simple regex-matching needs, and Text.Regex.Posix will 
work fine, EXCEPT I need to match multi-line patterns, and/or find all 
occurrences of text that may occur several times on different lines. So I 
need to turn on some kind of flag. Can someone show me how to do that? I 
have worked the examples in RWH so I basically know how to run the thing.


More information about the Haskell-Cafe mailing list