As far as I understand, matches is available as a logic statement but not as an expression operator. Is that right? Any idea why not? Expressions are way more readable than collections of logic statements, and matches seems like it would fit pretty cleanly, eg:
when: |
a.var == 1 and b.var matches "c|d"