mirror of
https://github.com/alibaba/open-code-review.git
synced 2026-07-22 23:54:08 +00:00
The code_search tool used -E (extended regex) by default, causing
unmatched parentheses in search patterns (e.g. "func Hello()") to
trigger "Unmatched ( or \(" fatal errors on Linux (GNU regex is strict),
while macOS (BSD regex) silently tolerated them. Since the tool
definition states the default mode is "literal text", switch to -F
(fixed string). Also capture stderr separately so real errors are
surfaced instead of being silently reported as "No matches found".
|
||
|---|---|---|
| .. | ||
| code_comment.go | ||
| code_search.go | ||
| code_search_test.go | ||
| comment_collector.go | ||
| definitions.go | ||
| file_find.go | ||
| file_read.go | ||
| file_read_diff.go | ||
| filereader.go | ||
| response_message.go | ||
| stub.go | ||