用\"匹配双引号,显示错误
改用两个双引号 "" 即可
Regex r = new Regex(@"两个双引号""才表示匹配,用\\""没用", RegexOptions.IgnoreCase);
posted on 2020-02-26 10:47 pu369com 阅读(2134) 评论(0) 编辑 收藏 举报
Powered by: 博客园 Copyright © 2024 pu369com Powered by .NET 9.0 on Kubernetes