logo       

Meta Characters \t \n \r in String Literal: msg#00099

lang.groovy.user

Subject: Meta Characters \t \n \r in String Literal

Hi everyone,

I have tested on groovy-1.0-beta-7.

println "C:\\test" // The output is not C:\test
println "C:\\ntest" // The output is not C:\ntest
println "C:\\rtest" // The output is not C:\rtest
println "C:\\" // unterminated string literal
println "C:\\"" // The output is C:\"

Is there any problem?

Regards,
Kim




<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

News | FAQ | advertise