$formula_patt = '(CH1-2)5-7'; $expected_ranges = { 'H' => { 'high' => 14, 'low' => 5 }, 'C' => { 'high' => 7, 'low' => 5 } }; $expected_options = {};