mirror of
https://github.com/bytedance/deer-flow.git
synced 2026-10-27 13:40:37 +00:00
E2BSandbox.grep() applied re.escape() to the caller's pattern and then handed the escaped text to grep -F. Fixed-string grep treats the added backslashes as part of the text to find, so an exact literal such as 'alpha.beta' never matched. Align with the boxlite/tenki/opensandbox seams: grep receives the RAW pattern (-F matches it literally, -E as a regex), and only a non-literal pattern is compile-validated locally. A shared-contract regression covers dot/space/bracket/backslash/plus literals through every shell-backed provider.