Gracefully handle invalid regex in mapping hints

We now catch these errors, highlight any invalid regex, and store its (in)valid state with the Nexson.