Convert instances of /e modifier to use preg_replace_callback. Fixes #277