Details
-
Bug
-
Resolution: Done
-
P3: Somewhat important
-
5.0.2
-
None
Description
Current documentation for the contains() function:
does not say that the second argument (called "value") is actually treated as a regular expression.
From the latest code it also seems that contains may accept 3 arguments, but I have hard time understanding the intent. It looks like the third argument could be used to further restrict the match to a list of possible values, but the regex is still required.