{"push_id":922289675,"size":2,"distinct_size":2,"ref":"refs/heads/3.x","head":"9581656f30cea091a573f1816372fb320d31a747","before":"2abd96fa38825c51f10ecbf2fe3b64e487eb63ae","commits":[{"sha":"11683a75399dd7254f163a278d7bd006f9944827","author":{"email":"c028c213ed5efcf30c3f4fc7361dbde0c893c5b7@puppetlabs.com","name":"Josh Cooper"},"message":"(maint) Relax fqdn_rand regex\n\nPreviously, we required `fqdn_rand(100000)` to return a 5 digit number,\nbut it can return any number greater than or equal to 0 and less than\n100000.  So relax the regex to require between 1 and 5 digits.\n\nAlso the regsubst function was defining a regex in a single quoted\nstring which is written to a manifest as:\n\n    regsubst(\"Cersei\",\"Cer(\\w)ei\",\"Daenery\\1\")\n\nBut `\\w` in a double quoted string is an invalid escape sequence,\ncausing puppet to output a warning, but somehow successfully apply\nthe regex:\n\n    Warning: Unrecognised escape sequence '\\w'\n\nThis commit escapes the backslash so that the manifest contains:\n\n    regsubst(\"Cersei\",\"Cer(\\\\w)ei\",\"Daenery\\\\1\")\n\nThis eliminates the warning, while continuing to verify that the\nregsubst function returns `Daenerys`.","distinct":true,"url":"https://api.github.com/repos/puppetlabs/puppet/commits/11683a75399dd7254f163a278d7bd006f9944827"},{"sha":"9581656f30cea091a573f1816372fb320d31a747","author":{"email":"7b1af39c979fb63e7814ceeaeeeef65c4bf64d54@users.noreply.github.com","name":"Eric Thompson"},"message":"Merge pull request #4545 from joshcooper/maint/3.x/fqdn_rand_functions\n\n(maint) Relax fqdn_rand regex","distinct":true,"url":"https://api.github.com/repos/puppetlabs/puppet/commits/9581656f30cea091a573f1816372fb320d31a747"}]}