(gsub的意义是g(lobal)sub(stitute),意思为全局替换(大雾))
slice[regexp]
/|\d+|/ =~ "|123|12345|"p $& #=> "|123|"
/|\d+|/ =~ "|123|12345|" p $& #=> "|123|"