Improved install regex