2012年9月19日
摘要: 正则表达式相关知识,参考MSDN文档:http://msdn.microsoft.com/zh-cn/library/az24scfc.aspx和http://msdn.microsoft.com/zh-cn/library/63ew9az0.aspxclassProgram{staticvoidMain(string[]args){Regexreg=newRegex(@"^(?<fpath>([a-zA-Z]:\\)([\s\.\-\w]+\\)*)(?<fname>[\w]+.[\w]+)");Matchresult=reg.Match(@&qu 阅读全文
posted @ 2012-09-19 16:41 一路前行 阅读(10634) 评论(0) 推荐(1) 编辑