On Jul 27, 2010, at 6:57 AM, Sebastian Fischer wrote:

Maybe I'll add it [noMatch] to the next version. I only need a better string representation ;)

Ha! It's already provided by character classes:

    ghci> accept (fromString "[]") "abc"
    False

I'll add

    noMatch :: RegExp c
    noMatch = psym "[]" (const False)

Sebastian



--
Underestimating the novelty of the future is a time-honored tradition.
(D.G.)



_______________________________________________
Haskell-Cafe mailing list
[email protected]
http://www.haskell.org/mailman/listinfo/haskell-cafe

Reply via email to