Add pattern to String's repr