[project @ 2005-02-14 22:35:05 by jmb]
Fix bug in regex svn path=/import/netsurf/; revision=1513
This commit is contained in:
parent
0c7b9496ef
commit
a91cd77902
|
@ -37,7 +37,7 @@ void url_init(void)
|
||||||
"(\\?([^#[:space:]]*))?(#([^[:space:]]*))?"
|
"(\\?([^#[:space:]]*))?(#([^[:space:]]*))?"
|
||||||
"[[:space:]]*$", REG_EXTENDED);
|
"[[:space:]]*$", REG_EXTENDED);
|
||||||
regcomp_wrapper(&url_up_re,
|
regcomp_wrapper(&url_up_re,
|
||||||
"/([^/]|[.][^./]|[^./][.]|[^/][^/][^/]+)/[.][.](/|$)",
|
"/([^/]|[.][^./]|[^./][.]|[^/][^/][^/]+)?/[.][.](/|$)",
|
||||||
REG_EXTENDED);
|
REG_EXTENDED);
|
||||||
regcomp_wrapper(&url_nice_re,
|
regcomp_wrapper(&url_nice_re,
|
||||||
"^([^.]{0,4}[.])?([^.][^.][.])?([^/?&;.=]*)"
|
"^([^.]{0,4}[.])?([^.][^.][.])?([^/?&;.=]*)"
|
||||||
|
|
Loading…
Reference in New Issue