mirror of
https://github.com/prometheus/prometheus.git
synced 2024-11-14 17:44:06 -08:00
c8bce5d8c5
We can't remove the only Sub from regexp, since the contract for some operations says that there's at least one Sub, like OpStar or OpPlus. In order to convert a single-sub element into a no-op, we change the operation to OpEmptyString. Signed-off-by: Oleg Zaytsev <mail@olegzaytsev.com> |
||
---|---|---|
.. | ||
labels.go | ||
labels_test.go | ||
matcher.go | ||
matcher_test.go | ||
regexp.go | ||
regexp_test.go | ||
test_utils.go |