CESM-Development / cime

Common Infrastructure for Modeling the Earth
Other
16 stars 13 forks source link

Bug in regular expression match in xmlchange #460

Closed billsacks closed 7 years ago

billsacks commented 8 years ago

Helping Cecilia Bitz port cesm1_5_beta06 to the U Washington machine, perl (5.16?) complained about the regular expression match on line 146 of xmlchange:

       if ( $varval =~ /^(\w+)=(.*+)$/ ){

Specifically, it doesn't like '(.*+)'. Should this just be '(.+)' ???

billsacks commented 8 years ago

cc @fischer-ncar

fischer-ncar commented 8 years ago

Hobart uses perl 5.16.3, and there hasn't been any perl script issues.

billsacks commented 7 years ago

Presumably no longer relevant with the python port