On Fri, Oct 30, 2009 at 11:41:11 +0000, Eric Kow wrote:
> Excellent.  Hopefully we can boil this down into a minimal Haskell
> program and bump this upstream somewhere (I guess the next level
> up would be the maintainers of the regexp packages?)

I think I meant something like the attached, maybe not exactly but
somewhere along those lines:

ghc --make EmptyRegexSubexpressio
echo "abc" | ./EmptyRegexSubexpression
echo "x"   | ./EmptyRegexSubexpression

-- 
Eric Kow <http://www.nltg.brighton.ac.uk/home/Eric.Kow>
PGP Key ID: 08AC04F9
import Text.Regex

main = interact (show . matchRegex r)

r = mkRegex "(a|)"

Attachment: signature.asc
Description: Digital signature

_______________________________________________
darcs-users mailing list
[email protected]
http://lists.osuosl.org/mailman/listinfo/darcs-users

Reply via email to