CustomPattern
¶
Source code in docs_src/capo_workspaces_web/types/custom_pattern.py
keyword_regex
instance-attribute
¶
keyword_regex: NotRequired[Regex]
The keyword regex for the customer pattern. After there is a match to the pattern regex, the keyword regex is used to search within the proximity of the match. If there is a keyword match, then the match is confirmed. If no keyword regex is provided, the pattern regex match will automatically be confirmed. The format must follow JavaScript regex format. The pattern must be enclosed between slashes, and can have flags behind the second slash. For example, “/ab+c/gi”
pattern_description
instance-attribute
¶
pattern_description: NotRequired[DescriptionSafe]
The pattern description for the customer pattern.
pattern_name
instance-attribute
¶
pattern_name: PatternName
The pattern name for the custom pattern.