regexp change to parse database.php