Update a preg /e with a callback