{
open Lexing
}
(* additional lexer to extract URL from Coq manual's index *)
rule entry = parse
| "
" [^ ',']* ", "
{ let s = lexeme lexbuf in
let n = String.length s in
String.sub s 8 (n - 15), extract_index_url lexbuf }
| "
" [^ ',']* ", "
{ let s = lexeme lexbuf in
let n = String.length s in
String.sub s 4 (n - 6), extract_index_url lexbuf }
and extract_index_url = parse
| "