Added enableSnapshotsRegex feature missed from original pull request