support :cmask=xxx syntax