title: Javascript - Regex Vimeo ID
body: <p>I'm using this regex to get the Vimeo video ID from an url:</p>
  
  <pre><code>/\/\/(?:www\.|player\.)?vimeo.com\/(?:channels\/(?:\w+\/)?|groups\/(?:[^\/]*)\/videos\/|album\/(?:\d+)\/video\/|video\/|)(\d+)(?:[a-zA-Z0-9_\-]+)?/i
  </code></pre>
  
  <p>However, this regex seems to have some typo and issue when I try to valide it thanks to JSLint for example:</p>
  
  <pre><code>Expected a regexp factor and instead saw ')'.
  </code></pre>
  
  <p>I can't find where the issue is exactly.</p>