private Pattern compilePattern(String pattern) {
    if (pattern == null) {
      return null;
    }

    // Convert the pattern to lower case because events/HMS will have table names in lower case.
    return Pattern.compile(pattern, Pattern.CASE_INSENSITIVE);
  }
Class that stores the replication scope. Replication scope includes the details of database and
tables included under the scope of replication.
standalone-metastore/metastore-common/src/main/java/org/apache/hadoop/hive/common/repl/ReplScope.java