OCaml, how to disassemble large multiline text data using the Page module. Ignoring the symbol of the beginning of a new line.
let get_info content =
let re = Str.regexp "\\(.+?\\)" in
match Str.string_match re content 0 with
| true -> print_endline("-->"^(Str.matched_group 1 content)^"<--")
| false -> print_endline("not found");;
This example returns only the first line, but need some text in multiple lines.