Content
Condition matching the current event’s file content against a regex.
Usage
Content(
pattern,
project_only=True,
)Applies to Edit (new content) and Write (file content) tool events.
Parameter Attributes
pattern: strproject_only: bool = True