docs: document muse content-grep regex metacharacter escaping
Agents trained on grep muscle memory write patterns like MusehubObject( without escaping the literal parenthesis, which Python re rejects with 'unterminated subpattern'. Added a callout under the content-grep section explaining that (, ), ., [, *, +, ?, {, ^, $ must be escaped with \ when matching literal characters. Includes failing and passing examples.
sha256:bb320dc426fe7877044452165e9d27e259dad9ea41c9a9552c0233066b1aaac7
sha
sha256:ff47c5c427529d4175d0432f11ec9e4aeb6b74b8a63a307a1323920308a3c917
snapshot
0 comments
To add a comment, use the Muse CLI:
muse hub commit comment sha256:bb320dc426fe7877044452165e9d27e259dad9ea41c9a9552c0233066b1aaac7 --body "your comment"
No comments yet. Be the first to start the discussion.