matchers-0.20.0.0: Text matchers

Safe HaskellNone

Matchers

Synopsis

Documentation

pcreSource

Arguments

:: CaseSensitive 
-> Text

Pattern

-> Either String (Pred Text) 

withinSource

Arguments

:: CaseSensitive 
-> Text

Pattern

-> Pred Text 

anyTime :: Pred TextSource

Matches any valid time.

timeSource

Arguments

:: UTCTime
t
-> Ordering
r
-> Pred Text 

If the given ordering is r, the given time is t, and the time of the subject is s, the Predbox returns compare s t == r. Always returns False if the subject is not a valid time.