示例#1
0
        // �R���X�g���N�^
        public TemplateRegexParser(EcmProject proj, EcmLog log, string templateName)
        {
            myProject = proj;
            myLog = log;
            myTemplateName = templateName;

            myPlaceHolderSets["{num}"] = new PlaceHolder("num", "-?[0-9]*", "-100");
            myPlaceHolderSets["{num+}"] = new PlaceHolder("num", "-?[0-9]+", "-100");
            myPlaceHolderSets["{uri}"] = new PlaceHolder("uri", "[-._~;?:@&=*+&,/#\\[\\]()a-zA-Z0-9]*", "#");
            myPlaceHolderSets["{uri+}"] = new PlaceHolder("uri", "[-._~;?:@&=*+&,/#\\[\\]()a-zA-Z0-9]*", "#");
            myPlaceHolderSets["{text}"] = new PlaceHolder("text", "[^\\n<]*", "�e�L�X�g�e�L�X�g�e�L�X�g");
            myPlaceHolderSets["{text+}"] = new PlaceHolder("text", "[^\\n<]+", "�e�L�X�g�e�L�X�g�e�L�X�g");
            myPlaceHolderSets["{any}"] = new PlaceHolder("any", ".*", "??????????");
            myPlaceHolderSets["{any+}"] = new PlaceHolder("any", ".+", "??????????");
        }
示例#2
0
文件: ecmlog.cs 项目: bakera/ECCM
 // �ʂ̃��O��������܂��B
 public void Append(EcmLog log)
 {
     foreach(EcmLogItem el in log.GetAll()){
         Add(el);
     }
 }