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



Author: otaylor
Date: 2008-02-19 15:27:05 -0600 (Tue, 19 Feb 2008)
New Revision: 7320

Modified:
   dumbhippo/trunk/server/src/com/dumbhippo/server/dm/NetflixMovieDMO.java
Log:
- can appear in Netflix Movie URL's

Modified: dumbhippo/trunk/server/src/com/dumbhippo/server/dm/NetflixMovieDMO.java
===================================================================
--- dumbhippo/trunk/server/src/com/dumbhippo/server/dm/NetflixMovieDMO.java	2008-02-19 18:53:38 UTC (rev 7319)
+++ dumbhippo/trunk/server/src/com/dumbhippo/server/dm/NetflixMovieDMO.java	2008-02-19 21:27:05 UTC (rev 7320)
@@ -38,7 +38,7 @@
 		super(key);
 	}
 
-	private static Pattern NETFLIX_URL_PATTERN = Pattern.compile("http://www.netflix.com/Movie/(?:[A-Za-z0-9_]+)/([0-9]+)(?:\\?.*)?");
+	private static Pattern NETFLIX_URL_PATTERN = Pattern.compile("http://www.netflix.com/Movie/(?:[A-Za-z0-9_-]+)/([0-9]+)(?:\\?.*)?");
 	
 	private static String extractExtra(String url) {
 		Matcher m = NETFLIX_URL_PATTERN.matcher(url);



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