The /e modifier of preg_replace() deprecated as of PHP 5.5.0
Merge branch 'hotfix/#6644-template-map-generator-preg-replace-deprecated-modifier'

Close #6644