Details
-
Type:
Bug
-
Status:
Closed
-
Priority:
Major
-
Resolution: Fixed
-
Affects Version/s: 1.0
-
Fix Version/s: 1.1-beta-2
-
Component/s: parser
-
Labels:None
-
Number of attachments :
Description
See the discussions here:
http://www.nabble.com/Escaping---in-Groovy-slashy-syntax-tf3186042.html
and here:
I applied a fix for this. For the record, old behaviour was:
/ was only allowed if preceded by an odd number of \ characters. All characters were preserved.
\ at the end of a line escaped the end of line (i.e. acts as continuation character) so long as it wasn't preceded by an odd number of \ characters.
New behaviour is:
\ escapes end of line and / in which case the \ is removed. In all other cases, \ is preserved.