0
New-Object System.Net.WebProxy($Env:http_proxy, $true, @('localhost', '*.domain.com')
失败,出现错误:
New-Object : Exception calling ".ctor" with "3" argument(s): "parsing "*.domain.com" - Quantifier {x,y} following nothing."
At line:1 char:6
+ $p = New-Object System.Net.WebProxy($Env:http_proxy, $true, @('*.domain.com', 'l ...
的Quantifier {x,y} following nothing
是正则表达式错误,很奇怪。我试图使用正则表达式转义字符,但没有。
任何解决方案?
感谢:
如果你把它改为然而
.*.domain.com
它的工作原理。没有注意到这个正则表达式的信息。 – majkinetor 2015-02-10 16:38:03