RegExpExecArray should extends Array<string>

instead of copying all the methods of Array<string>
Add optional index and output to String.match
Merge pull request #415 from ivogabe/regexp

RegExp function return types