Jira (PUP-1814) Double backslashes in single quote strings should be interpreted as single
Title: Message Title Sebastian Schmidt commented on an issue Re: Double backslashes in single quote strings should be interpreted as single Good point, thanks! Add Comment Puppet / PUP-1814 Double backslashes in single quote strings should be interpreted as single Double backslashes in single quoted strings should be interpreted as single backslashes but aren't. The following manifest: {code} notice('foo\\bar') {code} Gives: {code} notice: Scope(Class[main]): foo\\bar {code} This is not the behavior described at [http://docs.puppetlabs.com/guides/language_guide.html#quoting](http://docs.puppetlab... This message was sent by Atlassian JIRA (v6.1.4#6159-sha1:44eaede) -- You received this message because you are subscribed to the Google Groups Puppet Bugs group. To unsubscribe from this group and stop receiving emails from it, send an email to puppet-bugs+unsubscr...@googlegroups.com. To post to this group, send email to puppet-bugs@googlegroups.com. Visit this group at http://groups.google.com/group/puppet-bugs. For more options, visit https://groups.google.com/d/optout.
Jira (PUP-1814) Double backslashes in single quote strings should be interpreted as single
Title: Message Title Sebastian Schmidt commented on an issue Re: Double backslashes in single quote strings should be interpreted as single While I appreciate that the implementation follows the documentation, how would one deal with code like this where there are actually two backslashes needed? https://github.com/jfryman/puppet-nginx/blob/master/manifests/resource/location.pp#L246 My attempt to fix was https://github.com/jfryman/puppet-nginx/pull/301/files#diff-3bfa339c375e139166a7afc6cb8c5b62L246 but that's really more a hack. Add Comment Puppet / PUP-1814 Double backslashes in single quote strings should be interpreted as single Double backslashes in single quoted strings should be interpreted as single backslashes but aren't. The following manifest: {code} notice('foo\\bar') {code} Gives: {code} notice: Scope(Class[main]): foo\\bar {code} This is not the behavior described at [http://docs.puppetlabs.com/guides/language_guide.html#quoting](http://docs.puppetlab... This message was sent by Atlassian JIRA (v6.1.4#6159-sha1:44eaede) -- You received this message because you are subscribed to the Google Groups
Jira (PUP-1814) Double backslashes in single quote strings should be interpreted as single
Title: Message Title Henrik Lindberg commented on an issue Re: Double backslashes in single quote strings should be interpreted as single For the 3.x series you can use double quoted strings, they do the right thing on escapes. Add Comment Puppet / PUP-1814 Double backslashes in single quote strings should be interpreted as single Double backslashes in single quoted strings should be interpreted as single backslashes but aren't. The following manifest: {code} notice('foo\\bar') {code} Gives: {code} notice: Scope(Class[main]): foo\\bar {code} This is not the behavior described at [http://docs.puppetlabs.com/guides/language_guide.html#quoting](http://docs.puppetlab... This message was sent by Atlassian JIRA (v6.1.4#6159-sha1:44eaede) -- You received this message because you are subscribed to the Google Groups Puppet Bugs group. To unsubscribe from this group and stop receiving emails from it, send an email to puppet-bugs+unsubscr...@googlegroups.com. To post to this group, send email to puppet-bugs@googlegroups.com. Visit this group at http://groups.google.com/group/puppet-bugs. For more options, visit https://groups.google.com/d/optout.
Jira (PUP-1814) Double backslashes in single quote strings should be interpreted as single
Title: Message Title Joshua Partlow assigned an issue to Joshua Partlow Puppet / PUP-1814 Double backslashes in single quote strings should be interpreted as single Change By: Joshua Partlow Assignee: JoshuaPartlow Add Comment This message was sent by Atlassian JIRA (v6.1.4#6159-sha1:44eaede) -- You received this message because you are subscribed to the Google Groups Puppet Bugs group. To unsubscribe from this group and stop receiving emails from it, send an email to puppet-bugs+unsubscr...@googlegroups.com. To post to this group, send email to puppet-bugs@googlegroups.com. Visit this group at http://groups.google.com/group/puppet-bugs. For more options, visit https://groups.google.com/groups/opt_out.
Jira (PUP-1814) Double backslashes in single quote strings should be interpreted as single
Title: Message Title redmine.exporter created an issue Puppet / PUP-1814 Double backslashes in single quote strings should be interpreted as single Issue Type: Bug Assignee: Unassigned Created: 28/Feb/14 6:44 AM Labels: redmine Priority: Normal Reporter: redmine.exporter Double backslashes in single quoted strings should be interpreted as single backslashes but aren't. The following manifest: notice('foobar') Gives: notice: Scope(Class[main]): foobar This is not the behavior described at http://docs.puppetlabs.com/guides/language_guide.html#quoting(http://docs.puppetlabs.com/guides/language_guide.html#quoting) Add Comment
Jira (PUP-1814) Double backslashes in single quote strings should be interpreted as single
Title: Message Title Charlie Sharpsteen commented on an issue Re: Double backslashes in single quote strings should be interpreted as single Marking as accepted as per the Redmine ticket. Add Comment Puppet / PUP-1814 Double backslashes in single quote strings should be interpreted as single Double backslashes in single quoted strings should be interpreted as single backslashes but aren't. The following manifest: notice('foo\\bar') Gives: notice: Scope(Class[main]): foo\\bar This is not the behavior described at [http://docs.puppetlabs.com/guides/language_guide.html#quoting](http://docs.puppetlabs.com/guides/language_guide This message was sent by Atlassian JIRA (v6.1.4#6159-sha1:44eaede) -- You received this message because you are subscribed to the Google Groups Puppet Bugs group. To unsubscribe from this group and stop receiving emails from it, send an email to puppet-bugs+unsubscr...@googlegroups.com. To post to this group, send email to puppet-bugs@googlegroups.com. Visit this group at http://groups.google.com/group/puppet-bugs. For more options, visit https://groups.google.com/groups/opt_out.
Jira (PUP-1814) Double backslashes in single quote strings should be interpreted as single
Title: Message Title Henrik Lindberg updated an issue Puppet / PUP-1814 Double backslashes in single quote strings should be interpreted as single Change By: Henrik Lindberg Doublebackslashesinsinglequotedstringsshouldbeinterpretedassinglebackslashesbutaren't.Thefollowingmanifest: {code} notice('foo\\bar') {code} Gives: {code} notice:Scope(Class[main]):foo\\bar {code} Thisisnotthebehaviordescribedat[http://docs.puppetlabs.com/guides/language_guide.html#quoting](http://docs.puppetlabs.com/guides/language_guide.html#quoting) Add Comment This message was sent by Atlassian JIRA (v6.1.4#6159-sha1:44eaede) -- You received this message because you are subscribed to the Google Groups Puppet Bugs group. To unsubscribe from this group and stop receiving emails from it, send an email to puppet-bugs+unsubscr...@googlegroups.com. To post to this group, send email to puppet-bugs@googlegroups.com. Visit this group at http://groups.google.com/group/puppet-bugs. For more options, visit https://groups.google.com/groups/opt_out.
Jira (PUP-1814) Double backslashes in single quote strings should be interpreted as single
Title: Message Title Henrik Lindberg commented on an issue Re: Double backslashes in single quote strings should be interpreted as single notice 'a single \ and a double backslash \\ and then escaped garbage \g' notice a single \ and a double backslash \\ and then escaped garbage \g produces the same output for both existing and future parsers Warning: Unrecognised escape sequence '\ ' in file /Users/henrik/git/puppet/foo.pp at line 2 Warning: Unrecognised escape sequence '\g' in file /Users/henrik/git/puppet/foo.pp at line 2 Notice: Scope(Class[main]): a single \ and a double backslash \\ and then escaped garbage \g Notice: Scope(Class[main]): a single \ and a double backslash \ and then escaped garbage \g It has worked this way for quite some time. Add Comment Puppet / PUP-1814 Double backslashes in single quote strings should be interpreted as single Double backslashes in single quoted strings should be interpreted as single backslashes but aren't. The following manifest: {code} notice('foo\\bar') {code} Gives: {code} notice: Scope(Class[main]): foo\\bar {code} This is not the behavior described at [http://docs.puppetlabs.com/guides/language_guide.html#quoting](http://docs.puppetlab...
Jira (PUP-1814) Double backslashes in single quote strings should be interpreted as single
Title: Message Title Henrik Lindberg commented on an issue Re: Double backslashes in single quote strings should be interpreted as single And I forget, this behavior prevents a single quoted string from ending with a backslash Add Comment Puppet / PUP-1814 Double backslashes in single quote strings should be interpreted as single Double backslashes in single quoted strings should be interpreted as single backslashes but aren't. The following manifest: {code} notice('foo\\bar') {code} Gives: {code} notice: Scope(Class[main]): foo\\bar {code} This is not the behavior described at [http://docs.puppetlabs.com/guides/language_guide.html#quoting](http://docs.puppetlab... This message was sent by Atlassian JIRA (v6.1.4#6159-sha1:44eaede) -- You received this message because you are subscribed to the Google Groups Puppet Bugs group. To unsubscribe from this group and stop receiving emails from it, send an email to puppet-bugs+unsubscr...@googlegroups.com. To post to this group, send email to puppet-bugs@googlegroups.com. Visit this group at http://groups.google.com/group/puppet-bugs. For more options, visit https://groups.google.com/groups/opt_out.
Jira (PUP-1814) Double backslashes in single quote strings should be interpreted as single
Title: Message Title Henrik Lindberg updated an issue Puppet / PUP-1814 Double backslashes in single quote strings should be interpreted as single Change By: Henrik Lindberg Labels: DSL redmine Add Comment This message was sent by Atlassian JIRA (v6.1.4#6159-sha1:44eaede) -- You received this message because you are subscribed to the Google Groups Puppet Bugs group. To unsubscribe from this group and stop receiving emails from it, send an email to puppet-bugs+unsubscr...@googlegroups.com. To post to this group, send email to puppet-bugs@googlegroups.com. Visit this group at http://groups.google.com/group/puppet-bugs. For more options, visit https://groups.google.com/groups/opt_out.
Jira (PUP-1814) Double backslashes in single quote strings should be interpreted as single
Title: Message Title Henrik Lindberg updated an issue Puppet / PUP-1814 Double backslashes in single quote strings should be interpreted as single Change By: Henrik Lindberg Fix Version/s: 3.6.0 Add Comment This message was sent by Atlassian JIRA (v6.1.4#6159-sha1:44eaede) -- You received this message because you are subscribed to the Google Groups Puppet Bugs group. To unsubscribe from this group and stop receiving emails from it, send an email to puppet-bugs+unsubscr...@googlegroups.com. To post to this group, send email to puppet-bugs@googlegroups.com. Visit this group at http://groups.google.com/group/puppet-bugs. For more options, visit https://groups.google.com/groups/opt_out.
Jira (PUP-1814) Double backslashes in single quote strings should be interpreted as single
Title: Message Title Henrik Lindberg updated an issue Puppet / PUP-1814 Double backslashes in single quote strings should be interpreted as single Change By: Henrik Lindberg Fix Version/s: 3.6.0 Fix Version/s: 3.5.0 Add Comment This message was sent by Atlassian JIRA (v6.1.4#6159-sha1:44eaede) -- You received this message because you are subscribed to the Google Groups Puppet Bugs group. To unsubscribe from this group and stop receiving emails from it, send an email to puppet-bugs+unsubscr...@googlegroups.com. To post to this group, send email to puppet-bugs@googlegroups.com. Visit this group at http://groups.google.com/group/puppet-bugs. For more options, visit https://groups.google.com/groups/opt_out.
Jira (PUP-1814) Double backslashes in single quote strings should be interpreted as single
Title: Message Title Henrik Lindberg assigned an issue to Henrik Lindberg Puppet / PUP-1814 Double backslashes in single quote strings should be interpreted as single Change By: Henrik Lindberg Assignee: HenrikLindberg Add Comment This message was sent by Atlassian JIRA (v6.1.4#6159-sha1:44eaede) -- You received this message because you are subscribed to the Google Groups Puppet Bugs group. To unsubscribe from this group and stop receiving emails from it, send an email to puppet-bugs+unsubscr...@googlegroups.com. To post to this group, send email to puppet-bugs@googlegroups.com. Visit this group at http://groups.google.com/group/puppet-bugs. For more options, visit https://groups.google.com/groups/opt_out.
Jira (PUP-1814) Double backslashes in single quote strings should be interpreted as single
Title: Message Title Henrik Lindberg commented on an issue Re: Double backslashes in single quote strings should be interpreted as single This will only be fixed in the --parser future branch of puppet as the change may cause breakage. The fix will be standard behavior in Puppet 4.0. Add Comment Puppet / PUP-1814 Double backslashes in single quote strings should be interpreted as single Double backslashes in single quoted strings should be interpreted as single backslashes but aren't. The following manifest: {code} notice('foo\\bar') {code} Gives: {code} notice: Scope(Class[main]): foo\\bar {code} This is not the behavior described at [http://docs.puppetlabs.com/guides/language_guide.html#quoting](http://docs.puppetlab... This message was sent by Atlassian JIRA (v6.1.4#6159-sha1:44eaede) -- You received this message because you are subscribed to the Google Groups Puppet Bugs group. To unsubscribe from this group and stop receiving emails from it, send an email to puppet-bugs+unsubscr...@googlegroups.com. To post to this group, send email to puppet-bugs@googlegroups.com. Visit this group at http://groups.google.com/group/puppet-bugs. For more options,
Jira (PUP-1814) Double backslashes in single quote strings should be interpreted as single
Title: Message Title Henrik Lindberg commented on an issue Re: Double backslashes in single quote strings should be interpreted as single Merged in 2f972f3 Add Comment Puppet / PUP-1814 Double backslashes in single quote strings should be interpreted as single Double backslashes in single quoted strings should be interpreted as single backslashes but aren't. The following manifest: {code} notice('foo\\bar') {code} Gives: {code} notice: Scope(Class[main]): foo\\bar {code} This is not the behavior described at [http://docs.puppetlabs.com/guides/language_guide.html#quoting](http://docs.puppetlab... This message was sent by Atlassian JIRA (v6.1.4#6159-sha1:44eaede) -- You received this message because you are subscribed to the Google Groups Puppet Bugs group. To unsubscribe from this group and stop receiving emails from it, send an email to puppet-bugs+unsubscr...@googlegroups.com. To post to this group, send email to puppet-bugs@googlegroups.com. Visit this group at http://groups.google.com/group/puppet-bugs. For more options, visit https://groups.google.com/groups/opt_out.
Jira (PUP-1814) Double backslashes in single quote strings should be interpreted as single
Title: Message Title Henrik Lindberg updated an issue Puppet / PUP-1814 Double backslashes in single quote strings should be interpreted as single Change By: Henrik Lindberg Story Points: 1 Add Comment This message was sent by Atlassian JIRA (v6.1.4#6159-sha1:44eaede) -- You received this message because you are subscribed to the Google Groups Puppet Bugs group. To unsubscribe from this group and stop receiving emails from it, send an email to puppet-bugs+unsubscr...@googlegroups.com. To post to this group, send email to puppet-bugs@googlegroups.com. Visit this group at http://groups.google.com/group/puppet-bugs. For more options, visit https://groups.google.com/groups/opt_out.
Jira (PUP-1814) Double backslashes in single quote strings should be interpreted as single
Title: Message Title Henrik Lindberg updated an issue Puppet / PUP-1814 Double backslashes in single quote strings should be interpreted as single Change By: Henrik Lindberg Sprint: Week2014-2-26to2014-3-5 Add Comment This message was sent by Atlassian JIRA (v6.1.4#6159-sha1:44eaede) -- You received this message because you are subscribed to the Google Groups Puppet Bugs group. To unsubscribe from this group and stop receiving emails from it, send an email to puppet-bugs+unsubscr...@googlegroups.com. To post to this group, send email to puppet-bugs@googlegroups.com. Visit this group at http://groups.google.com/group/puppet-bugs. For more options, visit https://groups.google.com/groups/opt_out.