cleanup
handle object literals whose property names must be escaped in a regexp (#775)