https://blog.csdn.net/weixin_35696071/article/details/113074470
reg := regexp.MustCompile(`Go(.*?)语言`)str := "是的撒Go前端语言Go后端语言是的撒"sli := reg.FindAllStringSubmatch(str, -1)for _, v := range sli { fmt.Println(v[1])}