Skip to main content

anchored_label_regex

Function anchored_label_regex 

Source
fn anchored_label_regex(value: &str) -> String
Expand description

Prometheus’s NewFastRegexMatcher also wraps patterns in ^(?s:…)$: https://github.com/prometheus/prometheus/blob/main/model/labels/regexp.go