b'maritime; wet, moderate winters, cool summers\r\r\n'
b'Terrain:\r\r\n'
b'marshy, lowlands; flat in the north, hilly in the south\r\r\n'
b'12.7 deaths/1,000 population (2018 est.)\r\r\n'
就是b' \r\r\n' 中间为任意字符
[\bb'](.+)[\b\\r\\r\\n']
使用\b锁定边界b’和\r\r\n’
String regix="b'.*\\r\\r\\n'"
如果是勉强型(匹配最短的)则是
String regix="b'.*?\\r\\r\\n'"
import re
a = "b'maritime; wet, moderate winters, cool summers\r\r\n'"
b = re.compile("^b'(.*)\r\r\n'$")
c = b.match(a)
if c and c.groups()[0]:
print c.groups()[0]