I need to find a way to transform a string into regex. For example, if someone sets a `ends_with: { value: "?" } }` validation on a question title, it will muck up the regex.