Chemistry-FormulaPattern
view release on metacpan or search on metacpan
t/parse/range_var.pl view on Meta::CPAN
$formula_patt = '(CH2)1-2*';
$expected_ranges = {
'H' => {
'high' => 4,
'low' => 2
},
'C' => {
'high' => 2,
'low' => 1
}
};
$expected_options = {
'allow_others' => 1
};
( run in 0.579 second using v1.01-cache-2.11-cpan-5837b0d9d2c )