`PartialFunction.cond(b){case ScalaBundleJarsRegex(fname) => true}` no ?