rematch-text-0.1.0.2: `rematch` matchers for Data.Text

Safe HaskellSafe-Inferred

Control.Rematch.Text.Strict

Description

This module exports rematch matchers for strict Data.Text

Synopsis

Documentation

startsWith :: Text -> Matcher TextSource

matchers if the input begins with some Text becomes success

endsWith :: Text -> Matcher TextSource

matchers if the input ends with some Text

containsText :: Text -> Matcher TextSource

matchers if the input contains some Text

equalToIgnoringCase :: Text -> Matcher TextSource

matchers if the input is equal ignoring case

equalToIgnoringWhitespace :: Text -> Matcher TextSource

matchers if the input is equal ignoring whitespace

isEmptyText :: Matcher TextSource

matchers if the input is empty Text