Little regexp change

This commit is contained in:
Xavier Guimard 2013-09-29 16:43:15 +00:00
parent 41105ae772
commit 187bbe9efa

View File

@ -44,7 +44,7 @@ sub googleEndPoint {
# Dirty XML parse
# (searching for <URI>https://www.google.com/accounts/o8/ud</URI>)
my $tmp = $response->decoded_content;
if ( $tmp =~ m#<URI.*?>(\S+)</URI>#i ) {
if ( $tmp =~ m#<URI.*?>(\S+)</URI>#mi ) {
$googleEndPoint = $1;
}
else {