Panic after a null regexes ( RT #77784 )

Now catches and dies on more (hopefully all) null regexes, un-terminated
regexes, and unrecognized metacharacters