don't break on invalid regexpes