Regex for JSON query's expected value (and in general for anything value search-like)
iGerman00 opened this issue Β· comments
German commented
π I have found these related issues/pull requests
π·οΈ Feature Request Type
Change to existing monitor
π Feature description
Sometimes, for example when the response is a string and can vary, you would want to regex it, maybe something returns a big error, but it starts with the word error.
βοΈ Solution
A regex option alongside the current expected value would be swell.
β Alternatives
Can't think of any
π Additional Context
No response
Frank Elsinga commented
FYI:
jsonata already includes the regex expression https://docs.jsonata.org/regex
But yea, likely not as discoverable for devs.
The PR that would add further operators would be #4617