Fix wording about pattern parser (#6264)

The last sentence was saying the opposite of what it meant.
Also fix 'start' to match singluar 'expression'.
pull/6271/head
Bryan Boreham 4 years ago committed by GitHub
parent 9c49a0222d
commit dc185f6ac2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      docs/sources/logql/log_queries.md

@ -434,7 +434,7 @@ If a capture is not matched, the pattern parser will stop.
Literals can be any sequence of UTF-8 characters, including whitespace characters.
By default, a pattern expression is anchored at the start of the log line. If the expression start with literals, then the log line must also start with the same set of literals. Use `<_>` at the beginning of the expression to anchor the expression at the start.
By default, a pattern expression is anchored at the start of the log line. If the expression starts with literals, then the log line must also start with the same set of literals. Use `<_>` at the beginning of the expression if you don't want to anchor the expression at the start.
Consider the log line

Loading…
Cancel
Save