git-svn: trunk@3077
Török Edvin authored on 2007/05/30 01:11:42... | ... |
@@ -200,12 +200,13 @@ static const size_t https_len = sizeof(https)-1; |
200 | 200 |
#define URI_xpalpha_nodot URI_xalpha_nodot"|\\+" |
201 | 201 |
#define URI_xpalphas "("URI_xpalpha")+" |
202 | 202 |
#define URI_xpalphas_nodot "("URI_xpalpha_nodot")+" |
203 |
+#define optional_URI_xpalphas "("URI_xpalpha"|=)*" |
|
203 | 204 |
|
204 | 205 |
#define URI_scheme URI_ialpha |
205 | 206 |
#define URI_tld iana_tld |
206 | 207 |
#define URI_path1 URI_xpalphas_nodot"\\.("URI_xpalphas_nodot"\\.)*" |
207 | 208 |
#define URI_path2 URI_tld |
208 |
-#define URI_path3 "(/("URI_xpalphas"/?)*)?" |
|
209 |
+#define URI_path3 "(/"optional_URI_xpalphas")*" |
|
209 | 210 |
|
210 | 211 |
#define URI_search "("URI_xalphas"\\+)*" |
211 | 212 |
#define URI_fragmentid URI_xalphas |