OSDN Git Service

AppliStation-GUI,fix typo regexp
authorttp <ttp@users.sourceforge.jp>
Sat, 22 Nov 2008 15:48:03 +0000 (15:48 +0000)
committerttp <ttp@users.sourceforge.jp>
Sat, 22 Nov 2008 15:48:03 +0000 (15:48 +0000)
git-svn-id: http://localhost/svn/AppliStation/trunk@991 34ed2c89-c49f-4a4b-abdb-c318350108cf

AppliStation/PackageInfoForm.cs

index 646acf6..1f73295 100644 (file)
@@ -256,7 +256,7 @@ namespace AppliStation
                        if (Directory.Exists(linkData)) {\r
                                e.Link.Visited = true;\r
                                System.Diagnostics.Process.Start(e.Link.LinkData.ToString());\r
-                       } else if (System.Text.RegularExpressions.Regex.IsMatch(linkData, @"(https?|file)://")) {\r
+                       } else if (System.Text.RegularExpressions.Regex.IsMatch(linkData, @"^(https?|file)://")) {\r
                                e.Link.Visited = true;\r
                                System.Diagnostics.Process.Start(linkData);\r
                        }\r