提交 ab26078a 编写于 作者: aaronchen2k2k's avatar aaronchen2k2k

Revert "test and fix on win7"

This reverts commit 50097e26.

# Conflicts:
#	src/test.go
上级 8119997f
......@@ -20,7 +20,10 @@ func main() {
dd`
myExp := regexp.MustCompile("(?m:^\\s(?:PASS|FAIL) scripts/tc-200.py\n([\\s\\S]*?)((^\\s(PASS|FAIL))|\\z))")
str := "(?m:^\\s" + "FAIL\\sscripts/tc-200.py" + "\\n([\\s\\S]*?)((^\\s(PASS|FAIL))|\\z))"
// myExp := regexp.MustCompile("(?m:^\\s(?:PASS|FAIL) scripts/tc-200.py\n([\\s\\S]*?)((^\\s(PASS|FAIL))|\\z))")
myExp := regexp.MustCompile(str)
arr := myExp.FindStringSubmatch(text)
fmt.Println(arr[1])
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册