title: Is there ever a reason to use Scala's StringLike.replaceAllLiterally over Java's String.replace?
body: <p>Scala's StringLike has the method <a href="https://github.com/scala/scala/blob/56b7c0f8fa6c1037905867aec88520476dbd3baa/src/library/scala/collection/immutable/StringLike.scala#L166"><code>replaceAllLiterally(literal: String, replacement: String): String</code></a></p>
  
  <p>This seems to be very similar in effect to Java's String with the method <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html#replace%28java.lang.CharSequence,%20java.lang.CharSequence%29"><code>String replace(CharSequence target, CharSequence replacement)</code></a>. </p>
  
  <p>Is there ever a reason to use the Scala version? </p>
  
  <p>(Not going through the regex compile step would seem to enable Java's version to be faster, though I haven't benchmarked that)</p>