Fixing some regexp patterns in the pear and pecl providers.