Test failures on Windows due to unescaped paths in regex patterns

Fix: Wrap file paths interpolated into regex patterns in \Q ... \E