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

Please review my code and give me some advice, thanks @tomchentw .
https://github.com/shouldjs/should.js#static-should-and-assert-module