fix(windows): Fixed regexp to support windows and nix based systems