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