File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -38,14 +38,14 @@ Reasons to choose PCRE-OCaml:
3838
3939Please run:
4040
41- ```
42- $ odig odoc pcre2
41+ ``` sh
42+ odig odoc pcre2
4343```
4444
45- Or (maybe?) :
45+ Or:
4646
47- ```
48- $ dune build @doc
47+ ``` sh
48+ dune build @doc
4949```
5050
5151Consult the [ API] ( https://mmottl.github.io/pcre-ocaml/api/pcre ) for details.
@@ -112,8 +112,7 @@ utop # let rex = regexp "12+3";;
112112val rex : regexp = <abstr>
113113utop # let workspace = Array.make 40 0;;
114114val workspace : int array =
115- [|0; 0; 0; 0; 0; 0; 0; 0; 0; 0; 0; 0; 0; 0; 0; 0; 0; 0; 0; 0; 0; 0; 0; 0; 0;
116- 0; 0; 0; 0; 0; 0; 0; 0; 0; 0; 0; 0; 0; 0; 0|]
115+ [| ... |]
117116utop # pcre_dfa_exec ~rex ~flags:[`PARTIAL] ~workspace "12222";;
118117Exception: Pcre.Error Partial.
119118utop # pcre_dfa_exec ~rex ~flags:[`PARTIAL; `DFA_RESTART] ~workspace "2222222";;
You can’t perform that action at this time.
0 commit comments