reprospect.test.sass.instruction.pattern module
- class reprospect.test.sass.instruction.pattern.PatternBuilderView on GitHub
Bases:
objectHelper class to build patterns for instruction components.
- static any(*args: str) strView on GitHub
Build a pattern matching any of args.
- static groups(s: int | str, groups: Iterable[str]) strView on GitHub
Wrap a pattern in named capture groups.
- static zero_or_more(s: str) strView on GitHub
Build an optional non-capturing pattern that matches zero or more occurrences of the given pattern.
- static zero_or_one(s: str) strView on GitHub
Build an optional non-capturing pattern that matches zero or one occurrence of the given pattern.