We defined a mesure by selecting a string of 3 characters in the URI. We use this string as a splitting value for Business Transaction. This string is a system identifier. The problem is that the URIs may be in uppercase or lower case for the system. I want to always transform the 3 characters string in uppercase. Is there a way to do that? Is it with a regex string in the Windows attached to this question? intrasaaqnetsbdudu01mep02picturesmesure.png
Solved! Go to Solution.
That's not possible with the regex engine that we use.
A potential workaround might be to use toUpperCase() as an accessor in a parameter that contains the URI (e.g. if you have an HTTPServletRequest you could make an accessor with .getRequestURI().toUpperCase()) and then use this as your basis for your splitting. Probably a bit extreme, though. Also, performance impact would have to be verified.