![]() |
1
5
这个
|
![]() |
2
1
当您想访问匹配的组时,以下内容可以帮助您
|
![]() |
3
0
我想这个雷格夫适合 (?<nums>\d+\:?)+(?<rest>.*) 然后您可以将'num'和'rest'组合在一起,如图所示 public Regex MyRegex = new Regex( "^(?<nums>\\d+\\:?)+(?<rest>.*)$", RegexOptions.IgnoreCase | RegexOptions.CultureInvariant | RegexOptions.IgnorePatternWhitespace | RegexOptions.Compiled ); MatchCollection ms = MyRegex.Matches(InputText);
在哪里?
|
![]() |
A B · C#Excel自动调整列避免长文本时出错 4 月前 |
![]() |
pseudodev · 失败的测试仅显示堆栈跟踪,不显示完整日志 4 月前 |
![]() |
CactusCake · if语句中应有分号 5 月前 |
![]() |
Bin4ry · 子文件夹中的应用程序设置 6 月前 |