Community
Participate
Working Groups
This functionality for matches that compares lists and maps needs to be revisited now that literal simple pattern (i.e. ~"a*a" is supported. When comparing list == list, the content should be compared with equals. When comparing with ~= elements should be matched using patterns if there are any. Note that ANY '_' is always equal to just any irrespective of the way the comparison is made, to find an ANY, an identiical match must be done with ===
Fixed in revision 1320. SimplePattern is now supported for matches operator, and matches on List and Map was already performed using call to matches operator function. Tests updated.