Where is OCaml's alternative string syntax {|...|} documented?

Viewed 2997

OCaml's syntax for string literals

let s = "..."

is explained in the manual at the expected position:

https://caml.inria.fr/pub/docs/manual-ocaml/lex.html#s:stringliteral

However, OCaml has an alternative syntax for string literals which is especially handy for regular expressions and multi-line strings:

let s = {|...|}
let s = {foo|...|foo}

Where is that documented?

1 Answers
Related