Fix regexp example in regular-expressions.md (#4994)

Co-authored-by: Jason Stirnaman <stirnamanj@gmail.com>
pull/5039/head^2
sickfabian 2023-07-19 22:00:00 +02:00 committed by GitHub
parent 22f1d5771a
commit 009aafbee4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -76,7 +76,7 @@ The following example drops columns whose names do not begin with `_`.
from(bucket: "example-bucket")
|> range(start: -15m)
|> filter(fn: (r) => r._measurement == "mem")
|> drop(fn: (column) => column !~ /_.*/)
|> drop(fn: (column) => column !~ /^_.*/)
```
## Helpful links