Scenario: user input, which should be validated against a list of allowed values.
The condition will evaluate as true, if the <value> is contained in the <list>.
The <list>-element could have the following attributes:
separator - the character which separates values in the list (default ",")
ignoreWhitespace - ignore whitespace around the values in list (default "true")
ignoreCase - compare value case insensitive (default "false")
Example of usage after implementing this feature to the "contains" condition:
There is one additional pro: In this case you could directly use the regex handling of it.
This is just a suggestion, but I still don't see an argument against it.
Nevertheless, if you prepared an implementation of a separate condition it is ok for me.
Again, no problem if you want to create a separate condition for it. My notes have been meant as additional ideas, not more.
No, I aggree to implement it into Contains-Condition. It will be more clearly.
(This is one motivation, why I've spent some time on fixing the contains-condition first:
IZPACK-1405, IZPACK-1405, IZPACK-1407, IZPACK-1408, ).
Your suggestion from may 18th is good. I'll implement this, but I'll need a free time slot.
In this case I'd move this out of this sprint for one of the next releases.
Candidate for the next bug fix release after 5.1.0.