Finished [[ and $ extraction functions