From 42a8fbbdfc4ed6697535d263879d412e64fe83ea Mon Sep 17 00:00:00 2001 From: Liam Allan Date: Mon, 17 Jul 2017 10:55:54 +0100 Subject: [PATCH] Regex fix for libs with dot --- IBMiTools/IBMiUtilities.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/IBMiTools/IBMiUtilities.cs b/IBMiTools/IBMiUtilities.cs index f2f4086..f8a4081 100644 --- a/IBMiTools/IBMiUtilities.cs +++ b/IBMiTools/IBMiUtilities.cs @@ -18,7 +18,7 @@ public class IBMiUtilities public static bool IsValidQSYSObjectName(string s) { if (s == null || s == "") return false; - return Regex.Match(s, "^[a-zA-Z#][\\w#]{0,9}$").Success; + return Regex.Match(s, "^[a-zA-Z#][\\w#\\.]{0,9}$").Success; } public static string[] GetMemberList(string Lib, string Obj)