question: public VersionNamingConfiguration ( String searchVersionRegex , String replaceVersionRegex , BranchingPolicy ... policies ) { this . branchPolicies = new LinkedList < > ( Arrays . asList ( policies ) ) ; this . searchPattern = Pattern . compile ( searchVersionRegex ) ; this . replaceVersionRegex = replaceVersionRegex ; }
target:  Builds a Configuration object holding information to use while building version.