magento/magento2 — pull request #341 by parhamr (2013-08-21 20:07:35+00:00)
Title: Replacing simple preg calls with less expensive alternates

# Changes

* Replaces simple `preg_match` calls with equivalent `substr`, `strpos`, and/or `strlen` checks
* Replaces simple `preg_split` calls with equivalent `explode` operations

# Testing

* Code review, please
* No functional changes