摘要: string i = @"Live for nothing,die for something";//多行 Regex r3 = new Regex("^Live for nothing,\r\ndie for something$"); Console.WriteLine("r3 match count:" + r3.Matches(i).Count);//1 Regex r8 = new Re... 阅读全文
posted @ 2010-08-07 17:22 ForFreeDom 阅读(793) 评论(0) 推荐(0)