无法识别的分组构造

无法识别的分组构造

Hello everyoneI am trying a regular expression for the FTP Server List Formats (e.g. drwxr-xr-x 1 ftp ftp 0 Mar 15 2010 .Test Folder11). but my regular expression gives me this error :parsing "(?(?\d+-\d+-\d+)\s+)(?\d+\:\d+(AM|PM))\s*)(?((?\)|(?\d+))\s*)(?\w+))" - Unrecognized grouping construct.The original regular expression is : @"(?" + @"(?\d+-\d+-\d+)\s+)" + @"(?\d+\:\d+(AM|PM))\s*)" + @"(?((?\)|(?\d+))\s*)" + @"(?\w+))", RegexOptions.IgnoreCase | RegexOptions.CultureInvariant | RegexOptions.IgnorePatternWhitespace | RegexOptions.Compiledplease suggest some regular expression or solution for this problem. 解决方案 这篇关于正则表达式解析中的问题-无法识别的分组构造.的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持! 上岸,阿里云!
08-12 12:40