Add comment to regex and rename unparse_env_matrix to format_matrix