Hello Prometheus users,

Does label_replace regex support negative lookahead?

I tried using as last parameter "^((?!foo).)*$" but get the error:

Error executing query: invalid regular expression in label_replace(): 
^((?!foo).)*$

Same for "^(?!foo).*$"

Kind regards,
Stevo Slavic.

-- 
You received this message because you are subscribed to the Google Groups 
"Prometheus Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/prometheus-users/5fb51c41-4ef6-47a0-b9a2-9b2da01bdd26%40googlegroups.com.

Reply via email to