mirror of
https://github.com/bytedance/deer-flow.git
synced 2026-11-15 07:41:20 +00:00
* fix(sandbox): match local grep lines without their terminator find_grep_matches ran the regex on each line with its trailing "\n", so patterns that can consume the newline (\s$, [^a-z]$, \n) matched every newline-ended line while the returned line was shown stripped. Strip the LF or CRLF terminator before matching, as grep(1) and the remote sandbox providers do. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * docs(sandbox): clarify local grep CRLF handling * test(sandbox): cover literal grep line terminators --------- Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com> Co-authored-by: Willem Jiang <willem.jiang@gmail.com>