prometheus/model/labels
Nick Pillitteri a769a7eeb7
Some checks are pending
buf.build / lint and publish (push) Waiting to run
CI / Go tests (push) Waiting to run
CI / More Go tests (push) Waiting to run
CI / Go tests with previous Go version (push) Waiting to run
CI / UI tests (push) Waiting to run
CI / Go tests on Windows (push) Waiting to run
CI / Mixins tests (push) Waiting to run
CI / Build Prometheus for common architectures (push) Waiting to run
CI / Build Prometheus for all architectures (push) Waiting to run
CI / Report status of build Prometheus for all architectures (push) Blocked by required conditions
CI / Check generated parser (push) Waiting to run
CI / golangci-lint (push) Waiting to run
CI / fuzzing (push) Waiting to run
CI / codeql (push) Waiting to run
CI / Publish main branch artifacts (push) Blocked by required conditions
CI / Publish release artefacts (push) Blocked by required conditions
CI / Publish UI on npm Registry (push) Blocked by required conditions
Scorecards supply-chain security / Scorecards analysis (push) Waiting to run
model/labels: fix regex with capture, wildcards, literal (#17828)
This change fixes an issue introduced in #17707. When a regex
with a wildcard, literal, and final wildcard surounded by a
capture group was parsed - the capture group was not removed
first preventing `optimizeConcatRegex` from running.

Found via fuzz testing.

Signed-off-by: Nick Pillitteri <nick.pillitteri@grafana.com>
2026-01-12 15:51:45 +00:00
..
float.go fix: Added Unroll support to Sparse NHCBs 2025-10-10 19:12:30 +05:30
labels_common.go Remove copyright date from headers (#17785) 2026-01-05 13:46:21 +01:00
labels_dedupelabels.go Remove copyright date from headers (#17785) 2026-01-05 13:46:21 +01:00
labels_dedupelabels_test.go Remove copyright date from headers (#17785) 2026-01-05 13:46:21 +01:00
labels_slicelabels.go Remove copyright date from headers (#17785) 2026-01-05 13:46:21 +01:00
labels_slicelabels_test.go Remove copyright date from headers (#17785) 2026-01-05 13:46:21 +01:00
labels_stringlabels.go Remove copyright date from headers (#17785) 2026-01-05 13:46:21 +01:00
labels_stringlabels_test.go Remove copyright date from headers (#17785) 2026-01-05 13:46:21 +01:00
labels_test.go Remove copyright date from headers (#17785) 2026-01-05 13:46:21 +01:00
matcher.go Remove copyright date from headers (#17785) 2026-01-05 13:46:21 +01:00
matcher_test.go Remove copyright date from headers (#17785) 2026-01-05 13:46:21 +01:00
regexp.go model/labels: fix regex with capture, wildcards, literal (#17828) 2026-01-12 15:51:45 +00:00
regexp_test.go model/labels: fix regex with capture, wildcards, literal (#17828) 2026-01-12 15:51:45 +00:00
sharding.go Remove copyright date from headers (#17785) 2026-01-05 13:46:21 +01:00
sharding_dedupelabels.go Remove copyright date from headers (#17785) 2026-01-05 13:46:21 +01:00
sharding_stringlabels.go Remove copyright date from headers (#17785) 2026-01-05 13:46:21 +01:00
sharding_test.go Remove copyright date from headers (#17785) 2026-01-05 13:46:21 +01:00
test_utils.go Remove copyright date from headers (#17785) 2026-01-05 13:46:21 +01:00