mirror of
https://github.com/tiennm99/serena.git
synced 2026-10-14 14:17:49 +00:00
Encourage use of regex mode more strongly
This commit is contained in:
1 parent
9e1ce384fa
commit
98099e32d5
1 file changed
+1
@@ -183,6 +183,7 @@ class ReplaceContentTool(Tool, ToolMarkerCanEdit):
|
||||
especially if it spans several lines. Note that you cannot make mistakes, because if the regex should match
|
||||
multiple occurrences while you disabled `allow_multiple_occurrences`, an error will be returned, and you can retry
|
||||
with a revised regex.
|
||||
Therefore, using regex mode with suitable wildcards is usually the best choice!
|
||||
|
||||
:param relative_path: the relative path to the file
|
||||
:param needle: the string or regex pattern to search for.
|
||||
|
||||
Reference in new issue
Block a user