【发布时间】:2011-04-13 13:52:20
【问题描述】:
我有以下几点:
文字:
field id="25" ordinal="15" value="& $01234567890-$2000-"
正则表达式:
(?
替换字符串:
&$09876543210-$2000-
当我在 Expresso 中运行 Regex Replace 时 - 它会使应用程序崩溃。
如果我在 C# 中运行 Regex.Replace,我会收到以下异常:
ArgumentException
解析 "& $01234567890-$2000-" - 捕获组数必须小于或等于 Int32.MaxValue。
【问题讨论】: