Represents the string and header matching that is used to determine page classes.
Contents
Compiles the match string to a match object.
Match objects are callable objects that return a boolean.
Compiles the match header string to a match object.
Unlike simple match objects, these match against a dictionary of headers.
This also applies the the environ dictionary. Case-sensitivity is handled by the dictionary, not the matcher.
Raised if you have an invalid expression in a matcher
Matches a value against a pattern that may contain * wildcards.
Matches a value, ignoring case, against a pattern with wildcards.
Matches a value against a regular expression.
Matches a value against a path. This checks prefixes, but also only matches /-delimited segments.
Matches a string exactly.
Matches a string exactly, but ignoring case.
Matches if the value contains the pattern.
Matches if the value contains the pattern, ignoring case.
Matches according to a boolean true/falseness of a value
Matches simple “Header: pattern”. Does not match wildcard headers.
Matches “Header*: pattern”, where the header contains a wildcard.