if the string contains a PERCENT, it's not safe to remove brackets that follow and operator with the same or higher precedence than PERCENT