I’m trying to detect the iOS version in the user agent, and this line of javascript causes my project not to open.
var v = (navigator.appVersion).match(/OS (\d+)_(\d+)_?(\d+)?/);
I’m assuming there is an issue with escaping some of those regEx characters when the server merges the body-end into the main html file. Any thoughts?