make regexes.yaml database file configurable