Exemple #1
0
        public InputProcess()
        {
            _documentContext = DocumentContext.GetInstance();
            _ruleDic         = new Dictionary <string, string>
            {
                { "输入", "^输入\\S*" },
                { "input", "^input\\S*" }
            };

            _propertyDic = new Dictionary <string, string>
            {
                { "Count", "(?<=输入)\\d(?=\\S*数字)" },
                { "Int", "数字$" },
                { "String", "字符串$" }
            };
        }