# Replace segments '(* <solution> *) ... (* <solution> *) by the contents of DEFAULT_TEMPLATE_TEXT
# For proper indentation, this assumes that the leading '(* <solution> *)' is on its own line, and aligned to the current base indentation (e.g. aligned with 'Proof.').
# DEFAULT_TEMPLATE_TEXT has access to this indentation at regex variable $1