Beispiel #1
0
        public void Filename_Match()
        {
            //var c = new Copier("", "");

            var pattern = Helper.MakeRegexFromPattern(_types);

            Trace.WriteLine(pattern);
            //var result = Copier.IsFilenameMatch(@"E:\CardCopier\VOL_1021757571\PRIVATE\AVCHD\BDMV\MOVIEOBJ.BDM", pattern);
            var result = Copier.IsFilenameExtensionMatch(@"MOVIEOBJ.BDM", pattern);

            Trace.WriteLine(result);
            //Trace.WriteLine(c.ToString());
        }