You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Note: I have not tried to analyze whether the problem is in PowerShell or CoreFx; on the PowerShell side, new features were recently added to -replace - see #6029 - but I have no idea whether this symptom relates to that.
The problem appears to be specific to -replace; using -match does not exhibit the symptom.
Steps to reproduce
Run the following command line:
first on v6.0.2 (the current stable release as of this writing).
then on v6.1.0-preview.2 (the current preview release).