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

update test scripts

上级 57a53f43
...@@ -16,10 +16,12 @@ package require tls ...@@ -16,10 +16,12 @@ package require tls
http::register https 443 tls::socket http::register https 443 tls::socket
set url https://cn.bing.com set url https://us.bing.com
set http [::http::geturl $url] set http [::http::geturl $url]
set html [::http::data $http] set html [::http::data $http]
puts "$html"
regexp -- {<title>(.*?)<} $html match elem regexp -- {<title>(.*?)<} $html match elem
puts "$elem" puts "$elem"
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册