r7482 - dumbhippo/trunk/server/src/com/dumbhippo/server/dm



Author: marinaz
Date: 2008-05-13 15:42:50 -0500 (Tue, 13 May 2008)
New Revision: 7482

Modified:
   dumbhippo/trunk/server/src/com/dumbhippo/server/dm/FacebookPhotoThumbnailDMO.java
Log:
Fix the regular expression for matching the photo url.

Modified: dumbhippo/trunk/server/src/com/dumbhippo/server/dm/FacebookPhotoThumbnailDMO.java
===================================================================
--- dumbhippo/trunk/server/src/com/dumbhippo/server/dm/FacebookPhotoThumbnailDMO.java	2008-05-13 19:12:01 UTC (rev 7481)
+++ dumbhippo/trunk/server/src/com/dumbhippo/server/dm/FacebookPhotoThumbnailDMO.java	2008-05-13 20:42:50 UTC (rev 7482)
@@ -20,7 +20,7 @@
 		super(key);
 	}
 	
-	private static Pattern FACEBOOK_URL_PATTERN = Pattern.compile("http://www.facebook.com/photo.php\\?pid=([0-9]+)&id=([0-9]+])");
+	private static Pattern FACEBOOK_URL_PATTERN = Pattern.compile("http://www.facebook.com/photo.php\\?pid=([0-9]+)&id=([0-9]+)");
 
 	private static String extractExtra(String url) {
 		Matcher m = FACEBOOK_URL_PATTERN.matcher(url);



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]