将PowerShell脚本作为
运行var s = "data23:[0,2,12,20,9]";
console.log(s.replace(/\[([\d,]+)]/g, function($0,$1) {
return "[" + $1.replace(/(^|\D)\d(?!\d)/g, "$1NO") + "]";
}));
我收到错误:
Register-PSRepository -Name XYZ -SourceLocation https://urlname/api/v3
为什么我会遇到这个问题?