Is there any way to use raw strings in Java (without escape sequences)?
(I\'m writing a fair amount of regex code and raw strings would make my code immensely more r
This is a work-around if you are using eclipse. You can automatically have long blocks of text correctly multilined and special characters automatically escaped when you paste text into a string literal
"-paste here-";
if you enable that option in window→preferences→java→Editor→Typing→"Escape text when pasting into a string literal"