We're removing parens in string comparison function, why not do the same here? IIRC the motivation behind this was to make tests working when pretty-printer gets smarter and puts less number of parenthesis, but regex comparisons will fail if that happens one day.