DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUGĀ· RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT <http://issues.apache.org/bugzilla/show_bug.cgi?id=35738>. ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED ANDĀ· INSERTED IN THE BUG DATABASE.
http://issues.apache.org/bugzilla/show_bug.cgi?id=35738 Summary: Semantics of escaping unclear Product: Velocity Version: 1.3.1 Platform: PC OS/Version: Windows 2000 Status: NEW Severity: normal Priority: P2 Component: Source AssignedTo: [email protected] ReportedBy: [EMAIL PROTECTED] I think the semantics of the escaping operator \ (backslash) are not documented clearly. Especially I miss this ones: Why generates \$foo ==> $foo but \${foo} ==> \${foo} this seems inconsistent to me. I expect \${foo} ==> ${foo} I understand that ${foo:bar} raises an error since there are no : (colons) allowed in a variable-name. But why raises \${foo:bar} also an error? I would expect that \$ disables the function of $ as an operator, so that the following {..} will not be parsed as a variable name. There should be a simple way to generate something like ${foo:bar} or even ${not a variable name at all &%$} The workaround #set($D='$') ${D}{foo:bar} is undocumented and REALLY ugly. -- Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug, or are watching the assignee. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
