Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- /(abc)\1/.exec('abcabc')[0];
- // abcabc
- /(?:abc)\1/.exec('abc\1');
- // 0: "abc"
- // groups: undefined
- // index: 0
- // input: "abc"
- // length: 1
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement