X-Git-Url: http://matita.cs.unibo.it/gitweb/?a=blobdiff_plain;f=helm%2Fhttp_getter%2Fhttp_getter_common.ml;h=ad549330b0c8dd1ade0d54ea3b448c01f21529cd;hb=1c7fb836e2af4f2f3d18afd0396701f2094265ff;hp=636bbe5a712bcf33a42131a7a38f16357f751a3e;hpb=fbba267d392714a70c1eaa74fa6b2116ce1caadf;p=helm.git diff --git a/helm/http_getter/http_getter_common.ml b/helm/http_getter/http_getter_common.ml index 636bbe5a7..ad549330b 100644 --- a/helm/http_getter/http_getter_common.ml +++ b/helm/http_getter/http_getter_common.ml @@ -41,11 +41,6 @@ let is_nuprl_uri uri = Pcre.pmatch ~pat:"^nuprl:" uri let is_rdf_uri uri = Pcre.pmatch ~pat:"^helm:rdf(.*):(.*)//(.*)" uri let is_xsl_uri uri = Pcre.pmatch ~pat:"^\\w+\\.xsl" uri -let is_blank_line = - let blank_line_RE = Pcre.regexp "(^#)|(^\\s*$)" in - fun line -> - Pcre.pmatch ~rex:blank_line_RE line - let rec http_getter_uri_of_string = function | uri when is_rdf_uri uri -> (match Pcre.split ~pat:"//" uri with