【发布时间】:2009-02-22 18:14:55
【问题描述】:
如何使用 "/show_name=(.?)&show_name_exact=true\">(.?)
Match m = Regex.Match(input, "/show_name=(.*?)&show_name_exact=true\">(.*?)</i", RegexOptions.IgnoreCase);
// Check Match instance
if (m.Success)
{
// Get Group value
string key = m.Groups[1].Value;
Console.WriteLine(key);
// alternate-1
}
错误,未终止的字符串文字(CS1039)] 错误,常量换行(CS1010)]
我做错了什么?
【问题讨论】: