Update regexp to extract app name and version from user agent