Added handling for nil matching rules in MergeMatchingRulesWithExample
Added support for v2 regular expression matching in provider