Making options and regex accessible