小编ven*_*foo的帖子

组名无效:组名必须以单词字符开头

当我使用正则表达式的Regex类时,我收到以下异常:(?'named a'asdf)

System.ArgumentException: parsing \"(?'named a'asdf)\" - Invalid group name: Group names must begin with a word character.
Run Code Online (Sandbox Code Playgroud)

我的正则表达式有什么问题?

c# regex exception

3
推荐指数
1
解决办法
4818
查看次数

标签 统计

c# ×1

exception ×1

regex ×1