title: Java replaceAll("\\s+") vs replaceAll("\\\\s+")
body: <p>What's the difference between <code>replaceAll("\\s+")</code> and <code>replaceAll("\\\\s+")</code>? Usually I use <code>\\s+</code> but sometimes I see <code>\\\\s+</code>.</p>