I am trying to match a message field to a regex but the pipeline rule editor does not let me save the pipeline rule.
have i done something wrong ?
rule source:
rule “route to stream abschluesse”
when
regex(“\/*\/*abgeschlossen”, to_string($message.http_request_uri_normalized)).matches == true
then
route_to_stream(“streamid”);
end
See attached picture for the error in the editor.
I am using version 2.4.2 (currently upgraded from 2.3.2 to see if it changes something).
Edit: If i am using an empty regex, the editor would let me save the rule…
regex(“”, to_string($message.http_request_uri_normalized)).matched == true