find_files_by_name_with_regex
Retrieves an array of file paths from the codebase that match a given regex pattern.
Arguments
Name | Type | Description | Required |
---|---|---|---|
path_to_directory | string | The directory to search in. | |
find_file_name_pattern | string | The regex pattern used to find files. | |
cached_file_paths | array | A cached array of file paths to speed up the search. | |
limit | number | Limit the amount of results returned. | |
excluded_paths | array | A list of paths to exclude from the search. |
Returns
Type | Description |
---|---|
array | An array of file paths that match the regex pattern. |
Example
Last updated