/[classpath]/classpath/java/net/URI.java
ViewVC logotype

Diff of /classpath/java/net/URI.java

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.9 by mkoch, Mon Jan 17 21:00:45 2005 UTC revision 1.10 by tromey, Wed Feb 9 03:03:36 2005 UTC
# Line 65  public final class URI implements Compar Line 65  public final class URI implements Compar
65      "^(([^:/?#]+):)?((//([^/?#]*))?([^?#]*)(\\?([^#]*))?)?(#(.*))?";      "^(([^:/?#]+):)?((//([^/?#]*))?([^?#]*)(\\?([^#]*))?)?(#(.*))?";
66    
67    private static final String AUTHORITY_REGEXP =    private static final String AUTHORITY_REGEXP =
68      "^(([^?#]*)@([^?#]*):([^?#]*))?";      "^((([^?#]*)@)?([^?#:]*)(:([^?#]*)))?";
69    
70    /**    /**
71     * Valid characters (taken from rfc2396)     * Valid characters (taken from rfc2396)
# Line 115  public final class URI implements Compar Line 115  public final class URI implements Compar
115     */     */
116    private static final int FRAGMENT_GROUP = 10;    private static final int FRAGMENT_GROUP = 10;
117        
118    private static final int AUTHORITY_USERINFO_GROUP = 2;    private static final int AUTHORITY_USERINFO_GROUP = 3;
119    private static final int AUTHORITY_HOST_GROUP = 3;    private static final int AUTHORITY_HOST_GROUP = 4;
120    private static final int AUTHORITY_PORT_GROUP = 4;    private static final int AUTHORITY_PORT_GROUP = 6;
121        
122    private transient String scheme;    private transient String scheme;
123    private transient String rawSchemeSpecificPart;    private transient String rawSchemeSpecificPart;

Legend:
Removed from v.1.9  
changed lines
  Added in v.1.10

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26