class Matches

Gateway class to an assortment of common specifications

Public Class Methods

contains(item)

Return an ContainsMatch string specification item - The string that should occur in whole somwhere in the target string

exact(item)

Returns an ExactMatch

exact_ignoring_case(name)

Returns an DowncaseExactMatch for a string name - exact string to match on the target string

partial(item)

Return an PartialMatch string specification item - The partial string that will be looked for in the target string

regex(expression)

Returns an RegExMatch string specification expression - A Regex instance used to match the target string