LPS-46336 Fix regex for windows env