static List getImgStrList(String body) { var regExp = RegExp( r'<a href="[\w\d:.-/]+"><img src="([\w\d:.-/]+)"' ); List images = regExp.allMatches(body). map ((e) => e.group( 1 )).toList(); images.forEach((element) { print (element); return images; 复制代码
分类:
Android
标签: