FileCheck: Print a nice error message for missing closing ']' in regex vars.