Add missing regular expression terminator.