Details
-
New Feature
-
Status: Closed
-
Major
-
Resolution: Fixed
-
1.5.7, 1.6-beta-2
-
None
-
None
Description
Hallo
very useful would be to have quotes that don't require you to escape $ \ and other characters. Of course one needs to ensure the data doesn't contain quotes from the same type.
For example one can say:
def str = ''''<echo message="${hallo}"/>''''
println str;
And output be:
<echo message="${hallo}"/>
instead of no such property "hallo" for...
Another more useful example of such quotes usage is writing regular expressions. I have really hard time figuring out how to escape characters there!