We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f8d4d68 commit d2d642aCopy full SHA for d2d642a
core/file_interaction.py
@@ -88,7 +88,11 @@ def search_keywords(keywords: str):
88
name = os.path.basename(path)
89
line_nr = line_parts[1]
90
code_line = ":".join(line_parts[2:])
91
- match = re.search(keyword, code_line)
+ try:
92
+ match = re.search(keyword, code_line)
93
+ except Exception as e:
94
+ logger.info(f"Error in regex matching for regex keyword {keyword}: {e}")
95
+ match = None
96
if match is None:
97
continue
98
span = match.span()
0 commit comments