use simple $ op instead of regexp for binary type detection