YUKI Hiroshi
null+****@clear*****
Mon Nov 26 18:30:13 JST 2012
YUKI Hiroshi 2012-11-26 18:30:13 +0900 (Mon, 26 Nov 2012) New Revision: fcc03a7bc4b7fa4c2ca3a2694db1d4bb245cf7a6 https://github.com/groonga/gcs/commit/fcc03a7bc4b7fa4c2ca3a2694db1d4bb245cf7a6 Log: Fix broken regexp (part 2) Modified files: tools/scenario-runner.js Modified: tools/scenario-runner.js (+1 -1) =================================================================== --- tools/scenario-runner.js 2012-11-26 18:29:04 +0900 (33567cb) +++ tools/scenario-runner.js 2012-11-26 18:30:13 +0900 (493b968) @@ -194,7 +194,7 @@ ScenarioRunner.prototype.shouldReject = function(name) { if (!this._rejectFilter) { this._rejectFilter = this.options.reject; if (typeof this._rejectFilter == 'string' && - /^\/(.+\)/([gim]*)/.test(this._rejectFilter)) { + /^\/(.+)\/([gim]*)/.test(this._rejectFilter)) { this._rejectFilter = new RegExp(RegExp.$1, RegExp.$2 || ''); } } -------------- next part -------------- HTML����������������������������...Download