From 9b4f09ba83969586ecafd704de59ed5b8ff98c73 Mon Sep 17 00:00:00 2001 From: Rob Vermaas Date: Fri, 6 Jan 2012 23:04:48 +0100 Subject: [PATCH] allow dots (.) in job names when used as build input --- src/lib/Hydra/Helper/AddBuilds.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/lib/Hydra/Helper/AddBuilds.pm b/src/lib/Hydra/Helper/AddBuilds.pm index 7a20599a..f05c9632 100644 --- a/src/lib/Hydra/Helper/AddBuilds.pm +++ b/src/lib/Hydra/Helper/AddBuilds.pm @@ -68,7 +68,7 @@ sub parseJobName { our $key; our %attrs = (); # hm, maybe I should stop programming Perl before it's too late... - $s =~ / ^ (?: (?: ([\w\-]+) : )? ([\w\-]+) : )? ([\w\-]+) \s* + $s =~ / ^ (?: (?: ([\w\-]+) : )? ([\w\-]+) : )? ([\w\-\.]+) \s* (\[ \s* ( ([\w]+) (?{ $key = $^N; }) \s* = \s* \" ([\w\-]+) (?{ $attrs{$key} = $^N; }) \"