gabriel / muse public
docs BREAKING dev
gabriel · 65 days ago · Apr 11, 2026 · Diff

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
← Older Oldest on dev
All commits
Newer → Latest on dev

0 comments

No comments yet. Be the first to start the discussion.

To add a comment, use the Muse CLI: muse hub commit comment sha256:bb320dc426fe7877044452165e9d27e259dad9ea41c9a9552c0233066b1aaac7 --body "your comment"