matchers-0.20.0.0: Text matchers
Matchers
Synopsis
data CaseSensitive Source
Constructors
Instances
pcreSource
Arguments
Pattern
withinSource
exact :: CaseSensitive -> Text -> Pred TextSource
anyTime :: Pred TextSource
Matches any valid time.
timeSource
t
r
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.
s
compare s t == r