From d91b52f38e6bdee12265bd72212c96ba4683a5cf Mon Sep 17 00:00:00 2001 From: Thomas Hounsell Date: Tue, 16 Dec 2014 15:15:16 +0000 Subject: [PATCH] Also fix a hyphen breaking the quickpaste. --- Views/build/create.cshtml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Views/build/create.cshtml b/Views/build/create.cshtml index 1071186..dbe5e9a 100644 --- a/Views/build/create.cshtml +++ b/Views/build/create.cshtml @@ -245,7 +245,7 @@ }); $("#quickpaste").change(function () { - var regex = /([\d]{1,2})\.([\d]{1,2})\.([\d]{4,5})\.([\d]{1,5})\.([a-zA-Z0-9_\(\)]+?)\.(\d\d\d\d\d\d-\d\d\d\d)/; + var regex = /([\d]{1,2})\.([\d]{1,2})\.([\d]{4,5})\.([\d]{1,5})\.([a-zA-Z0-9_\(\)-]+?)\.(\d\d\d\d\d\d-\d\d\d\d)/; var result = regex.exec($("#quickpaste").val()); $("#MajorVersion").val(result[1]);