diff --git a/public/app/plugins/datasource/loki/querybuilder/operations.ts b/public/app/plugins/datasource/loki/querybuilder/operations.ts index 72609bef1fd..07a58338f44 100644 --- a/public/app/plugins/datasource/loki/querybuilder/operations.ts +++ b/public/app/plugins/datasource/loki/querybuilder/operations.ts @@ -324,7 +324,7 @@ Example: \`\`error_level=\`level\` \`\` orderRank: LokiOperationOrder.LineFilters, renderer: getLineFilterRenderer('|~'), addOperationHandler: addLokiOperation, - explainHandler: (op) => `Return log lines that match regex \`${op.params[0]}\`.`, + explainHandler: (op) => `Return log lines that match a \`RE2\` regex pattern. \`${op.params[0]}\`.`, }, { id: LokiOperationId.LineMatchesRegexNot, @@ -346,7 +346,7 @@ Example: \`\`error_level=\`level\` \`\` orderRank: LokiOperationOrder.LineFilters, renderer: getLineFilterRenderer('!~'), addOperationHandler: addLokiOperation, - explainHandler: (op) => `Return log lines that does not match regex \`${op.params[0]}\`.`, + explainHandler: (op) => `Return log lines that doesn't match a \`RE2\` regex pattern. \`${op.params[0]}\`.`, }, { id: LokiOperationId.LineFilterIpMatches,