7 Jul
2014
7 Jul
'14
8:26 a.m.
On 07/07/14 12:42, Stefan Winter wrote:
I used to think there was a special comparison operator for exactly that purpose, but I can't for the life of me find it in documentation.
=~ used to do this i.e. loop over the attributes, but no longer does; I think it got lost in the great unlang rewrite. You'll have to foreach over the attribute then regexp-compare against "%{Foreach-Variable-X}" - you do need to string-ify it, as it's not a real attribute.