Issue #7022 has been updated by Nigel Kersten. Category set to documentation Status changed from Investigating to Ready for Documentation Assignee set to James Turnbull Target version set to 2.7.x
The consensus is that this is expected behavior, just like Ruby and Perl in the same case. <http://en.wikibooks.org/wiki/Ruby_Programming/Strings#Single_quotes> We should however be documenting it. ---------------------------------------- Bug #7022: Single quoted strings ending with \ not handed correctly https://projects.puppetlabs.com/issues/7022 Author: R.I. Pienaar Status: Ready for Documentation Priority: Normal Assignee: James Turnbull Category: documentation Target version: 2.7.x Affected Puppet version: 0.25.4 Keywords: Branch: The following: <pre> notice('foo\nbar') </pre> Works as expected, however: <pre> notice('foo\') </pre> produces: <pre> Could not parse for environment production: Unclosed quote after '' in 'foo\') ' at /home/rip/test.pp:1 on node nephilim.ml.org </pre> Oldest puppet I can test on is 0.25.4 newest is 2.6.6, both have this bug -- You have received this notification because you have either subscribed to it, or are involved in it. To change your notification preferences, please click here: http://projects.puppetlabs.com/my/account -- You received this message because you are subscribed to the Google Groups "Puppet Bugs" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/puppet-bugs?hl=en.
