feat(regexp_search): port and modify from RegExp.prototype.search

Please review my code and give me some advice, thanks @tomchentw .
`.eql` can't work for deepEqual ?
https://github.com/shouldjs/should.js#eqlothervalue