Update cpr.class.php

Better regexp to match cpr