@a = $a =~ /^(.+? and )?(\w+\.\w+) like ('.*?')( and .*)?$/;