Use regex-format to construct RegExps from strings