Hello, loading this: ---------------------8<-------------------- import Text.Regex re2 = mkRegexWithOpts "was" True True match = matchRegexAll re2 "this was wrong" ---------------------8<-------------------- into hugs +N (November 2002) and evaluating match gives: Main> match Just ("this","was"," wrong",[]) where a space is missing at the end of the first String. Seems like a one-off error (other characters disappear, too). System: Debian Woody Hugs from the unstable source package (local build) Best wishes, Feri.
On Tue, Aug 26, 2003 at 10:02:22PM +0200, Ferenc Wagner wrote:
loading this: ---------------------8<-------------------- import Text.Regex
re2 = mkRegexWithOpts "was" True True match = matchRegexAll re2 "this was wrong" ---------------------8<-------------------- into hugs +N (November 2002) and evaluating match gives:
Main> match Just ("this","was"," wrong",[])
where a space is missing at the end of the first String. Seems like a one-off error (other characters disappear, too).
Thanks for the report. This was a library bug, fixed last May by Simon Marlow. The next release will include the fix.
participants (2)
-
Ferenc Wagner -
Ross Paterson