DEV-3748 Adding functionality to force a local source YAML file when generating regexes.json