title: Java Regexp patterns have double backslashes, how to store patterns in readable format
body: <p>Would be great to have convenient way of storing patterns with single backslash. Some workarounds: store it in the file and use NIO to read. Cons: Java EE does not allow IO access. Store somehow in JNDI. Maybe new to java 5 <code>Pattern.LITERAL</code> flag can help? I want to work with normal pattern string, like <code>\d</code>, not <code>\\d</code>.</p>