ietf-mta-filters
[Top] [All Lists]

Imapflags "hasflag" test interaction with relational draft

2006-01-31 08:47:21

Ken Murchison has asked me how "hasflag" test interacts with relational extension.

hasflag :count will count the number of different flags in a variable.
So
hasflag :count "ge" "MyVariable" "5"

returns true if the number of different flags in MyVariable is >= "5". However note that the default comparator is i;ascii-casemap and not i;ascii-numeric. I.e. hasflag test doesn't have the comparator parameter. Does anybody see any value in adding the comparator parameter to hasflag test?

Alexey

<Prev in Thread] Current Thread [Next in Thread>