Quiver Pattern

Utility libraries for Dart related to string pattern matching.

Build Status Coverage Status

API Docs are available.

quiver.pattern

matchesAny combines multiple Patterns into one, and allows for exclusions.

matchesFull returns true if a Pattern matches an entire String.

[quiver.pattern.regexp][]

escapeRegex escapes special regular expression characters in a String so that it can be used as a literal match inside of a RegExp.

[quiver.pattern.glob][]

Glob implements glob patterns that are commonly used with filesystem paths.

Libraries

quiver.pattern

This library contains utilities for working with Patterns.

quiver.pattern.glob
quiver.pattern.regexp

This library contains utilities for working with RegExps.