ctn.sub(‘答案:‘, ‘‘).gsub(/解析.*/,‘‘)
ruby sub 字符串 正则表达式
原文:https://www.cnblogs.com/znsongshu/p/11371905.html