Fix IndextermTextInBrackets regexps tests.