我在控制台应用程序中有代码
reg = new Regex(@"/[a-z0-9_\-\+]+@[a-z0-9\-]+\.([a-z]{2,3})(?:\.[a-z]{2})?/i");
string text = "wjeqklejqwek myEmail@hotmail.com a;lekqlwe anothermail@mail.ru";
parseTextByTagName("", text);
MatchCollection coll = reg.Matches(text);
}
Run Code Online (Sandbox Code Playgroud)
当我调试它时,它表明coll是空的你可以告诉我什么问题我解决它大约一个小时