penny-0.32.0.10: Extensible double-entry accounting system

Safe HaskellNone

Penny.Lincoln.Matchers

Description

Type synonyms for functions dealing with text matching.

Synopsis

Documentation

type FactorySource

Arguments

 = CaseSensitive

Will this matcher be case sensitive?

-> Text

The pattern to use when testing for a match. For example, this might be a regular expression, or simply the text to be matched.

-> Either Text (Predbox Text)

Sometimes producing a matcher might fail; for example, the user might have supplied a bad pattern. If so, an exception is returned. On success, a matcher is returned.

A function that makes Matchers.