HDL_ON/UI/UI2/FuntionControlView/FunctionBaseInfoSetPageBLL.csold mode 100644 new mode 100755
@@ -2,6 +2,7 @@ using System; using Shared; using HDL_ON.Entity; using System.Text.RegularExpressions; namespace HDL_ON.UI { @@ -34,7 +35,9 @@ } if (function.name != name) { if(name.Contains("[\\ud800\\udc00-\\udbff\\udfff\\ud800-\\udfff]")) Regex regtest = new Regex(@"\p{Cs}"); Match match = regtest.Match(name); if (match.Success) { HDLCommon.Current.ShowAlert(Language.StringByID(StringId.CannotEnterSpecialCharacters)); return;