Docs: 1.4.2, 5.0, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21
Clojure uses java.util.regex
for its regular expression support.
[src]
Scala scala.util.matching.Regex
delegates to java.util.regex.Pattern
.
[docs]
Scala.js compiles
Java regex patterns to semantically equivalent JavaScript patterns, so that the native RegExp
can be used, with all the browser
optimizations that come with it. This redesign was done in ed71c83e3
(Fix #1201: Correct regex support, 2021-07-07) by Sébastien Doeraene, presented
at ScalaCon, and released
in Scala.js 1.7.0.