What regex flavor used by Grafana


What flavor of regex does grafana use? Or does it not matter. I always test my regex on this site

Not sure which flavor I need to select to test out my grafana regex


Hi @yosiasz,

Thanks for opening this post.

The regex type is based on Golang as the backend code is written in Go while the Frontend is in Typescript. You are using the right one to test out regex via that website and just select Golang as flavour.

I hope this answer your question.

1 Like

Yes it does answer my question! Why is though when I copy a working regex from regex101 site, it doesn’t work on Grafana?
Trying to get domain name from a list of emails