$formula_patt = 'CH1-3CH2-3'; $expected_ranges = { 'H' => { 'high' => 6, 'low' => 3 }, 'C' => { 'high' => 2, 'low' => 2 } }; $expected_options = {};