The Source for Java Technology Collaboration
User: Password:



Start New Message Post a Reply

Subject:  Verbatim Strings
Date:  2007-01-19 11:16:24
From:  tompalmer
Response to: Verbatim Strings


One thought I've had for syntax in Java is to prefix the string with \. Seems related, doesn't overload the meaning of @ (which has a different meaning in C#), and it shouldn't conflict with separate oddness like Unicode character literals because of following characters. So for example:

\"\(\s+\)"


 Feed java.net RSS Feeds