The return value is a MatchCollection, so you can index into that, then refer to the groups property, and use the indexing the same way from there:$request[0].Groups['RequestDate'] 这篇关于从 [regex] 类型加速器表达式中捕获命名组的 PowerShell 语法是什么?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持! 1403页,肝出来的.. 09-06 07:53