Am I misunderstanding the regex docs?

*MyMod> subRegex (mkRegex "\\." ) "foo.bar" "blah"
"foo*** Exception: Text.Regex.Posix.regcomp: error in pattern

-Alex-

______________________________________________________________
S. Alexander Jacobson tel:917-770-6565 http://alexjacobson.com
_______________________________________________
Haskell-Cafe mailing list
Haskell-Cafe@haskell.org
http://www.haskell.org/mailman/listinfo/haskell-cafe

Reply via email to