Fix the OS version pattern replacements

Strangely there seems to be no ua-parser tests which cover this case