1 --- PicasaWebDownloader-1.1/Program.cs.orig 2007-08-20 14:10:44.000000000 +0200
2 +++ PicasaWebDownloader-1.1/Program.cs 2007-11-05 21:06:28.238055228 +0100
4 static bool canonizePicasaUrl( string source, out Uri targetUri )
6 Regex pattern = new Regex(
7 - @"^(http://picasaweb\.google\.com/" +
8 + @"^(http://picasaweb\.google\.(\w|\.)+/" +
9 @"((?<username>\w(\w|\.)+)/(?<album>\w(\w|\.)+))" +
10 @"|(data/feed/base/user/(?<username>\w(\w|\.)+)/album(?<qual>id)/(?<album>\d+)))" +
11 - @"(\?.*(?<authkey>authkey\=\w+))?",
12 + @"(\?.*(?<authkey>authkey\=(\w|-)+))?",
13 RegexOptions.IgnoreCase | RegexOptions.ExplicitCapture | RegexOptions.IgnorePatternWhitespace );