Skip to content

Commit 0e13b15

Browse files
fix(cli): Say log regex works on string attributes only
Array regex needs the tags[name,array][*] key form, so listing arrays without it would point agents at a regex that silently matches nothing. Refs LOGS-1031 Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
1 parent 1e163c0 commit 0e13b15

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎packages/cli/src/lib/search-query.ts‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -503,7 +503,7 @@ export const SEARCH_SYNTAX_REFERENCE = {
503503
wildcard: "* in values (e.g., message:*timeout*)",
504504
inList: "key:[val1,val2] — matches any value in the list",
505505
regex:
506-
"key://pattern// (logs only, string and array attributes) — RE2, unanchored, case-sensitive ((?i) to ignore case), max 64 chars, never quoted; ends at the first // followed by whitespace, ) or end of query; negate with !key://pattern//",
506+
"key://pattern// (logs only, string attributes) — RE2, unanchored, case-sensitive ((?i) to ignore case), max 64 chars, never quoted; ends at the first // followed by whitespace, ) or end of query; negate with !key://pattern//",
507507
},
508508
filterTypes: [
509509
"text (key:value)",

0 commit comments

Comments
 (0)