Scala regexes + stripMargin
I was working with some reaaallllyyy long regexes in Scala.
Something like:
(^(https://example\.com/ex/)|(^/ex/)|(^example\.com/ex/)|(^http://localhost)|(^http://example\.dev)|example\.ex\.com|\.com/Example|example\.co)(?:.+)