Fix regexp example in regular-expressions.md (#4994)
Co-authored-by: Jason Stirnaman <stirnamanj@gmail.com>pull/5039/head^2
parent
22f1d5771a
commit
009aafbee4
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in New Issue