{"push_id":1191572343,"size":1,"distinct_size":1,"ref":"refs/heads/issue/pup-6347/puppet-string-p-format","head":"0959f3ded937db37effc4c248a819b2bf3c118b8","before":"0d3840ab8209f1dd7e4b5421fb696b190961fed0","commits":[{"sha":"0959f3ded937db37effc4c248a819b2bf3c118b8","author":{"name":"Thomas Hallgren","email":"5f919b14acad347486cfcc925fe5476cb2791020@tada.se"},"message":"(PUP-6347) Use Puppet syntax in programmatic string representation\n\nBefore this commit, the '%p' format and some alternative '#' formats\nfor string would output a programmatic string representation that\nwas using Ruby escapes. This commit changes this so that the\nprogrammatic string representation conforms to Puppet syntax.\n\nThe following rules apply when the programmatic string representation\nis created:\n- The following codepoints will be escaped on output:\n  0x0a => \\n\n  0x0d => \\r\n  0x09 => \\t\n  0x22 => \\\"\n  0x24 => \\$\n  0x5c => \\\\\n- All other characters with a codepoint < 0x20 or > 0x7f are represented\n  using \\u{X} syntax (where X is a hexadecimal representation of the codepoint).\n- Strings that are safe to quote using single quotes will be single\n  quoted.","distinct":true,"url":"https://api.github.com/repos/thallgren/puppet/commits/0959f3ded937db37effc4c248a819b2bf3c118b8"}]}
{"actor":{"display_login":"thallgren"}}