Fixed the compiled pattern error in Windows.