collect: change range pattern to [x;y] to handle date
collect: allow operators for dates too