SHARE
TWEET

Untitled

a guest Jul 18th, 2019 72 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. /(abc)\1/.exec('abcabc')[0];
  2. // abcabc
  3.  
  4. /(?:abc)\1/.exec('abc\1');
  5. // 0: "abc"
  6. // groups: undefined
  7. // index: 0
  8. // input: "abc"
  9. // length: 1
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top