Skip to content
This repository has been archived by the owner on Mar 4, 2018. It is now read-only.

Commit

Permalink
Regex fix for libs with dot
Browse files Browse the repository at this point in the history
  • Loading branch information
worksofliam committed Jul 17, 2017
1 parent c1afd3f commit 42a8fbb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion IBMiTools/IBMiUtilities.cs
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 42a8fbb

Please sign in to comment.