new URL("http://www.oschina.net").openConnection().content.text.eachMatch( /href="(http.+?)"/) {match-> println match[1] }
【Linux常用命令速查手册】关注【入门小站】,后台回复 「1001」 自取。