Files
codebase-memory-mcp/tests
Jan Deelstra cc7ef348df fix(mcp): search_code converts multi-word patterns to regex
When pattern contains spaces and is not already a regex, convert to a
regex with '.*' between words: "foo bar baz" → "foo.*bar.*baz".
This matches all terms in order on a line instead of requiring the
exact multi-word substring.

Metacharacters in user input are escaped so the conversion is safe
for arbitrary text.

Includes test: search_code_multi_word verifies that a two-word query
matches a line containing both words non-contiguously.
2026-05-10 20:25:43 +02:00
..
2026-04-15 23:56:03 +02:00