Update to regex in pecl.rb and pear.rb

Got bit by the problem in this note: https://github.com/jippi/puppet-php/issues/39  

Tested in our local environment and it resolves the issue of RC package versions not getting matched.