packages feed

pcre-less-0.2.1: test/QC.hs

{- copyright (c) sreservoir.
   licensed under mit (x11). -}

module Main where

import Text.Regex.Less
import Test.QuickCheck

main :: IO ()
main = do
  putStr "all strings match null: " >> quickCheck matchEmpty

matchEmpty a = truth (a =~ "")