Gracefully handle regular expression errors in speech dictionaries (#10421)
* speechDictHandler: If a regular expression error is thrown when processing text for a given dictionary entry, log an error, remove the entry from memory, and continue processing further entries.
* Fix linting issues.