The string used to create the Spirit.
Represents how specific the pattern is. Similar to length, but not quite the same.
Checks if multiple strings match against the pattern. Only returns true if all strings match.
The strings to compare to the pattern.
Allows you to quickly test many strings against the pattern, and see which ones match it.
All of the strings that matched against the pattern.
Checks if a string matches against the pattern.
The string to compare to the pattern.
Returns the pattern string that was used to construct the Spirit.
Provides a way to check if multiple string match a pattern without constructing a Spirit.
The pattern to compare the strings against.
The strings to compare to the pattern.
Returns the Spirit or pattern string that best matches the target string. In the case of a tie, the spirit that was passed to the function first will be returned.
The patterns that will be tested against the string.
Provides a way to check which strings match a pattern without constructing a Spirit.
The pattern to compare the strings against.
The strings to compare to the pattern.
Returns a map using the pattern as the key and an array of matches as the value. If the pattern given was a string, the key will be a string. If the pattern was a spirit, then that same spirit will be the key.
An array of pattern strings or Spirits to check against
An array of strings that will be checked against the patterns
Provides a way to check if a string matches a pattern without constructing a Spirit.
The pattern to compare the string against.
The string to compare to the pattern.
Generated using TypeDoc
The string to use as the pattern.