나는 Browsergame에서 좌표를 일치시키고 싶다.C# - Regexp - ArgumentException
try
{
Regex r = new Regex("Mond ([1-9]) \x5B([1-9]):([1-9][0-9]{0,2}):([1-9][0-9]{0,2})\x5D");
Match m = r.Match("Mond 1 [1:1:1]");
}
catch (ArgumentException ex)
{
Console.WriteLine(ex);
}
에러이다 : 내 정규식은
System.ArgumentException "([1-9]) [([1-9]) 사교계 ([1-9 ] [0-9] {0,2}) : ([1-9] [0-9] {0,2}) "와일드 분석가 - Zie viele) -Zeichen. bei System.Text.RegularExpressions.RegexParser.ScanRegex() bei System.Text.RegularExpressions.RegexParser.Parse (문자열 re, RegexOptions op) bei System.Text.RegularExpressions.Regex..ctor (문자열 패턴, RegexOptions 옵션, C : \ Users \ Heavyfan \ Documents \ Visual Studio 2008 \ Projects \ WindowsFormsApplication7 \ WindowsFormsApplication7 \ Form2.cs 파일에서 bei) des typed "System.ArgumentException"is not in System.dll aufgetreten.
내 정규식의 문제점은 무엇인가요?
죄송합니다. 해상도는 Thx입니다.
해결해 주셔서 감사합니다. –