shortened dnn regex for dnn to support newer versions