Took the liberty of preparing a fix. Patch attached. Tested and working.
On 03.07.2017 13:21, Debian Bug Tracking System wrote: > Thank you for filing a new Bug report with Debian. > > This is an automatically generated reply to let you know your message > has been received. > > Your message is being forwarded to the package maintainers and other > interested parties for their attention; they will reply in due course. > > Your message has been sent to the package maintainer(s): > Eric Cooper <[email protected]> > > If you wish to submit further information on this problem, please > send it to [email protected]. > > Please do not send mail to [email protected] unless you wish > to report a problem with the Bug-tracking system. >
Index: approx-5.7/approx.ml
===================================================================
--- approx-5.7.orig/approx.ml
+++ approx-5.7/approx.ml
@@ -272,7 +272,7 @@ let with_pair rex str proc =
| [| a; b |] -> proc (a, b)
| _ -> assert false
-let status_re = Pcre.regexp "^HTTP/\\d+\\.\\d+\\s+(\\d{3})(?:\\s+(.*?)\\s*)?$"
+let status_re = Pcre.regexp "^HTTP/\\d+(?:\\.\\d+)?\\s+(\\d{3})(?:\\s+(.*?)\\s*)?$"
let header_re = Pcre.regexp "^(.*?):\\s*(.*?)\\s*$"
let process_header resp str =
signature.asc
Description: OpenPGP digital signature

