JavaScript regex : <p>I've a question about regex. I want to have two matches in three different states with a single regex.
This is my source where I want to execute the regex on.</p>

<p><strong>First example:</strong></p>

<pre><code>@@include('some string here', [])

// This is the output I want:
// First match: 'some string here'
// Second match: '[]'
</code></pre>

<p><strong>Second example:</strong></p>

<pre><code> @@include('some string here', {})

// This is the output I want:
// First match: 'some string here'
// Second match: '{}'
</code></pre>

<p><strong>Third example:</strong></p>

<pre><code>@@include('some string here')

// This is the output I want:
// First match: 'some string here'
</code></pre>

<p>All the states above I need with a single regex. Is this possible?</p>
