clean write_multiple_lines logisic
add offset(reg::Regex)
add parse_template(str)