title: Multiline regex layout
body: <p>I have a regex: <code>Regex("((group1)(group2))(group3)")</code></p>
  
  <p>I'd like to format it in a way that looks nice and clear, i.e.:</p>
  
  <pre><code>(
    (group1)
    (group2)
  )
  (group3)
  </code></pre>
  
  <p>For example I've tried this:</p>
  
  <pre><code>Regex("("
      +   "(group1)"
      +   "(group2)"
      + ")"
      + "(group3)")     //--&gt; loses the syntax highlighting in Intellij and a bit messy
  
  Regex("""(
             (group1)
             (group2)
           )
           (group3)""") //--&gt; not bad, but not equivalent (adds spaces and \n characters)
  </code></pre>
  
  <p><strong>Is there a way to have a clean layout while keeping the regex equivalent to the original and the syntax highlighting?</strong></p>