OS name received as Web0S instead of WebOS, Zero is displayed instead of 'O'

Hi,

To get the OS name from WebOS TV we are using the below code.

navigator.appVersion.match(/(.*?)/)

We received the OS name as Web0S instead of WebOS, Zero is available instead of ‘O’. For more details please refer the attached screenshot. Could you please suggest/share your inputs regarding this.

Please refer to userAgent string. webOS TV uses ‘0’ instead of ‘O’ due to some limitations. Thank you.