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