title: ACE Editor multiline regex
body: <p>I'm using ACE Editor to syntax highlight my website's BBCode system, and on the whole it's working well. The only thing that isn't is our equivalent to multiline comments:</p>
  
  <pre><code>[nobbcode]
      I am a demo of [b]BBCode[/b].
      Anything in here is shown as plain text, with code left intact,
      allowing people to show how it works.
  [/nobbcode]
  </code></pre>
  
  <p>The rule for this is:</p>
  
  <pre><code>{
      token:[
          "meta.tag.punctuation.tag-open.xml",
          "meta.tag.tag-name.xml",
          "meta.tag.punctuation.tag-close.xml",
          "comment",
          "meta.tag.punctuation.end-tag-open.xml",
          "meta.tag.tag-name.xml",
          "meta.tag.punctuation.tag-close.xml"
      ],
      regex:/(\[)(nobbcode)(\])([\s\S]*?)(\[\/)(nobbcode)(\])/,
      caseInsensitive:true
  },
  </code></pre>
  
  <p>And it works great in an example like this:</p>
  
  <pre><code>You can use [nobbcode][b]...[/b][/nobbcode] to designate bold text.
  </code></pre>
  
  <p>where the match is on a single line, but it doesn't seem to like multiline text.</p>
  
  <p>Does ACE not support multi-line regex, and if so should I instead break it down into "start comment, comment, end comment" parts?</p>