When I activate a rule with parameter of type REGULAR_EXPRESSION, I would expect an error message when saving the following because it is not a valid regular expression. But I don’t get any error message.
@Chris and @pierreguillot This is not a bug. The code mentioned by @Nicolas_Alcaraz in PropertyDefinition is for the settings properties.
For the Rule params, it is handled in RuleParamType. As we can see there, Regular Expression are just parsed as standard String and we never checked the validity of RegEx before for rule parameters, as mentioned by Colin.