[MOBY-guts] biomoby commit

Eddie Kawas kawas at pub.open-bio.org
Sat Dec 18 18:33:44 UTC 2004


kawas
Sat Dec 18 13:33:43 EST 2004
Update of /home/repository/moby/moby-live/Java/src/main/org/biomoby/client/gui/util
In directory pub.open-bio.org:/tmp/cvs-serv30145/org/biomoby/client/gui/util

Modified Files:
	REGEXP.java 
Log Message:
fixed the uri regular expression so that it handles uris like: illuminae.com, and not just www.illuminae.com

moby-live/Java/src/main/org/biomoby/client/gui/util REGEXP.java,1.4,1.5
===================================================================
RCS file: /home/repository/moby/moby-live/Java/src/main/org/biomoby/client/gui/util/REGEXP.java,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -r1.4 -r1.5
--- /home/repository/moby/moby-live/Java/src/main/org/biomoby/client/gui/util/REGEXP.java	2004/11/22 17:48:45	1.4
+++ /home/repository/moby/moby-live/Java/src/main/org/biomoby/client/gui/util/REGEXP.java	2004/12/18 18:33:43	1.5
@@ -21,7 +21,7 @@
 	private final static String URI =
 		//"(^(http:\\/\\/www\\.|HTTP:\\/\\/www\\.|www\\.|http:\\/\\/|HTTP:\\/\\/)?[\\w]+\\.[\\w].*\\w$)";
 		//"^(([^:/?#]+):)?(//([^/?#]*))?([^?#]*)(\\?([^#]*))?(#(.*))?"; // as per rfc 2396 appendix a.
-	    "^([\\w]+\\.[\\w]+(\\.[\\w]+)+)$";
+	    "^([\\w]+\\.[\\w]+(\\.[\\w]+)*)$";
 	private final static String URL =
 		"(^(http:\\/\\/www\\.|HTTP:\\/\\/www\\.|http:\\/\\/|HTTP:\\/\\/)[\\w]+\\.[\\w].*(\\/\\w+(\\.{1}\\w+)*)$)";
 	




More information about the MOBY-guts mailing list