22 Apr 2004 10:05
Re: String literals
Thanks Kevin! On 21 Apr 2004, at 18:32, Kevin Jones wrote: > Done > > http://jira.codehaus.org/secure/ViewIssue.jspa?key=GROOVY-419 > > Kevin Jones > http://kevinj.develop.com > > >> -----Original Message----- >> From: groovy-user-admin@... >> [mailto:groovy-user-admin@...] On Behalf Of >> jastrachan@... >> Sent: 21 April 2004 14:03 >> To: groovy-user@... >> Subject: Re: [groovy-user] String literals >> >> Sounds like a bug in the escaping rules. Any chance you could >> raise a JIRA issue for this please? >> >> >> On 21 Apr 2004, at 13:34, Kevin Jones wrote: >> >>> sorry, >>> >>> meant to say 'c:\\': works fine >>> >>> Kevin Jones >>> http://kevinj.develop.com >>> >>> >>>> -----Original Message----- >>>> From: groovy-user-admin@... >>>> [mailto:groovy-user-admin@...] On Behalf Of >> Kevin Jones >>>> Sent: 21 April 2004 13:26 >>>> To: groovy-user@... >>>> Subject: [groovy-user] String literals >>>> >>>> If I do this >>>> >>>> root = "c:\\"; >>>> >>>> I'm getting a weird error where the closing " is being >>>> escaped and I end up with the parser reading everything up to >>>> the next " that it finds. >>>> >>>> OTHO >>>> >>>> root = 'c:\'; >>>> >>>> Works fine >>>> >>>> In the first case it doesn't matter how many backslashes I >>>> use I always seem to get the same result. >>>> >>>> This is on a fairly recent build of groovy >>>> >>>> Kevin Jones >>>> http://kevinj.develop.com >>>> >>>> _______________________________________________ >>>> groovy-user mailing list >>>> groovy-user@... >>>> http://lists.codehaus.org/mailman/listinfo/groovy-user >>>> >>> >>> _______________________________________________ >>> groovy-user mailing list >>> groovy-user@... >>> http://lists.codehaus.org/mailman/listinfo/groovy-user >>> >>> >> >> James >> ------- >> http://radio.weblogs.com/0112098/ >> >> _______________________________________________ >> groovy-user mailing list >> groovy-user@... >> http://lists.codehaus.org/mailman/listinfo/groovy-user >> > > _______________________________________________ > groovy-user mailing list > groovy-user@... > http://lists.codehaus.org/mailman/listinfo/groovy-user > > James ------- http://radio.weblogs.com/0112098/
RSS Feed