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