次のようなテキストでURLを検索する正規表現があります。
my_urlfinder = re.compile(r'\shttp:\/\/(\S+.|)blah.com/users/(\d+)(\/|)')
text = "blah blah http://blah.com/users/123 blah blah http://blah.com/users/353"
for match in my_urlfinder.findall(text):
print match #prints an array with all the individual parts of the regex
URL全体を取得するにはどうすればよいですか?現在、matchは一致した部分(他のものに必要です)を出力するだけです...しかし、完全なURLも必要です。