27 Mar 2023 11:39 AM
Hi,
I would like to know if Dynatrace has some place to test regex expressions, I think https://dynatrace.software/ was available in the past. I have just attached some screenshot.
Reading this forum entry are pointing to some Gitlab repository not updated last 2 years.
Are you using something specific for Dynatrace or general websites as https://regexr.com/ or https://regex101.com/?
Thank you so much in advance.
Best regards
27 Mar 2023 12:31 PM
Hi Anton,
the mentioned IP address appears to belong to Google, so not sure this was ever an official Dynatrace tool. As for the domain, it's registered but does not seem to be active. Maybe @josef_solnicky has some additional information on that.
That being said, the sites you mentioned generally work quite well for any regular expression. Is there a particular reason you are asking or do you have a concern?
Cheers
27 Mar 2023 12:42 PM - edited 27 Mar 2023 12:44 PM
Hi,
Thank you so much for you reply.
It is only in relation to some limitations/differentes with others engines, for example, leading or trailing universal quantifiers or backreferences are not allowed in Dynatrace.
For example, preview is only available last 30 minutes for request naming rules. If your match request is not there, you need to test it using other websites but they have small differences with Dynatrace regex engine.
I just asking here because, maybe, I am not aware about some specific Dynatrace's tool in relation to this topic.
27 Mar 2023 02:11 PM
Yes, there are a couple of restrictions I am afraid. Just in case you are not familiar with the page, there's a good summary at https://www.dynatrace.com/support/help/manage/tags-and-metadata/reference/regular-expressions-in-dyn...
As for regex dialects, some sites allow you to choose the dialect you want, like PCRE or JavaScript.
27 Mar 2023 12:48 PM
I've always used Regex 101 to formulate the Regex needed in Dynatrace for tagging, parsing etc..
27 Mar 2023 12:53 PM
Me too 🙂