Fix error with preg_replace()
Merge pull request #51 from nigelgbanks/7.x-fix-error

Fix error with preg_replace()