어떻게 이것을 VB.net에서 C#으로 변환 할 수 있습니까? 온라인 변환기를 사용해 보았지만 프로젝트에 넣을 때 오류가 발생했습니다.VB.net Regex to C#
Dim regexinfo As String = String.Empty
Dim p = "\[news\](?<info>.*?)\[/news\]"
Dim Matches = Regex.Matches(response, p, RegexOptions.IgnoreCase Or RegexOptions.Singleline)
If Matches IsNot Nothing AndAlso Matches.Count > 0 Then
For Each Match As Match In Matches
If Match.Groups("info").Success Then
regexinfo = (Match.Groups("info").Value)
End If
Next
End If
오류에 관해 더 자세히 설명해 주실 수 있습니까? – siride