Skip to content

Special Matching Conditions

Not

Not(condition: MatchCondition | Any)

Bases: MatchCondition

Inverted matching condition

Glob

Glob(glob_pattern: str)

Bases: MatchCondition

Glob pattern matching condition. Supports *, ?, [chars] and [!chars] matching.

Regex

Regex(re_pattern: str)

Bases: MatchCondition

Regex pattern matching condition