Pattern matching class that supports:
- Plain string matching (substring search)
- Wildcard patterns with * (glob-style)
- Full regular expressions when wrapped in /regex/
readonly
isPlain: boolean
Checks if this is a plain string pattern.
readonly
isRegex: boolean
Checks if this is a regex pattern.
readonly
isWildcard: boolean
Checks if this is a wildcard pattern.
readonly
pattern: string
Gets the pattern string.
private
readonly
plainStr: string
private
readonly
regex: RegExp | null