YUKI Hiroshi
null+****@clear*****
Mon Nov 25 18:17:48 JST 2013
YUKI Hiroshi 2013-11-25 18:17:48 +0900 (Mon, 25 Nov 2013) New Revision: 91d818308313bd50db89efec3a5ec60a1fa0af4d https://github.com/droonga/drntest/commit/91d818308313bd50db89efec3a5ec60a1fa0af4d Message: Escape "/" in a regexp correctly Modified files: lib/drntest/test-runner.rb Modified: lib/drntest/test-runner.rb (+1 -1) =================================================================== --- lib/drntest/test-runner.rb 2013-11-25 18:16:27 +0900 (ed1fd82) +++ lib/drntest/test-runner.rb 2013-11-25 18:17:48 +0900 (0f61bec) @@ -88,7 +88,7 @@ module Drntest if catalog.exist? catalog_json = JSON.parse(catalog.read, :symbolize_names => true) zone = catalog_json[:zones].first - /\A([^:]+):(\d+)/(.+)\z/ =~ zone + /\A([^:]+):(\d+)\/(.+)\z/ =~ zone @host = "localhost" # $1 @port = $2.to_i @tag = $3 -------------- next part -------------- HTML����������������������������... ダウンロード