Warning: file_get_contents(/data/phpspider/zhask/data//catemap/2/csharp/310.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
C# 正在分析“_C#_Regex - Fatal编程技术网

C# 正在分析“

C# 正在分析“,c#,regex,C#,Regex,我正在尝试使用下面的代码。然而这给了我错误 错误: 正在分析?您的正则表达式lookback分组中缺少左括号: System.Text.RegularExpressions.Regex.Match(line, "?<=Sys ).*").ToString System.Text.RegularExpressions.Regex.Match(line, "(?<=Sys ).*").ToString()

我正在尝试使用下面的代码。然而这给了我错误

错误:


正在分析?您的正则表达式lookback分组中缺少左括号:

System.Text.RegularExpressions.Regex.Match(line, "?<=Sys ).*").ToString
System.Text.RegularExpressions.Regex.Match(line, "(?<=Sys ).*").ToString()