Safe Haskell | None |
---|
Text.Matchers
Documentation
Arguments
:: CaseSensitive | |
-> Text | Pattern |
-> Either Text (Predbox Text) | The Predbox if the pattern is good; if the pattern is bad, returns an error message. |
Uses the PCRE regular expression engine.
Arguments
:: CaseSensitive | |
-> Text | The pattern |
-> Predbox Text |
Matcher that succeeds if the pattern text is found anywhere within the subject.