Parent definitions do not always appear before their children in new versions of the browscap definition files, so we now loop through the list twice to ensure the parent properties are in the browsers array before copying them. Also updated the pattern->regex replacements to allow literal plus characters in user agent patterns.