Can't do regex matching in Swift
<p>I am working on a Swift project and I need to use this regex to check email is valid or not but when the app start the checking the app crash and give me this error:</p>

<blockquote>
  <p>NSInternalInconsistencyException', reason: 'Can't do regex matching, reason: Can't open pattern U_REGEX_MISSING_CLOSE_BRACKET</p>
</blockquote>

<p>This is my REGEX:</p>

<pre><code>^(([^&lt;&gt;()[\\]\\.,;:\\s@\\\"]+(\\.[^&lt;&gt;()[\\]\\.,;:\\s@\\\"]+)*)|(\\\".+\\\"))@((\\[[0-9]{1,3}\\.[0-9]{1,3}\\.[0-9]{1,3}\\.[0-9]{1,3}\\])|(([a-zA-Z\\-0-9]+[\\.]*)+[a-zA-Z]{2,}))$
</code></pre>