find_content_in_file_with_regex
Finds all occurrences of specific content in a file based on a given regex pattern.
Arguments
Name
Type
Description
Required
path_to_file
string
The path to the file where the content needs to be found. The path should be relative to the project root.
find_content_pattern
string
The regex pattern describing what content to find in the file.
limit
number
Limit the number of matches returned.
exclude_duplicates
boolean
Exclude duplicates from the results.
Returns
Type
Description
prompt
An array of specific content found in the file based on the regex pattern.
Example
Last updated