Added a test to check the HHVM behavior for invalid regexes