Rosetta Code/Count examples: Difference between revisions

(added ocaml)
(→‎{{header|OCaml}}: command line)
Line 259:
 
=={{header|OCaml}}==
 
execute with:
ocaml str.cma unix.cma -I +pcre pcre.cma -I +netsys netsys.cma -I +equeue equeue.cma \
-I +netstring netstring.cma -I +netclient netclient.cma -I +xml-light xml-light.cma countex.ml
 
<lang ocaml>let repl_quote s =
let reg = Str.regexp_string "&#039;" in