Skip to content

Commit f381b90

Browse files
committed
Small README improvements
1 parent f9fdc49 commit f381b90

1 file changed

Lines changed: 6 additions & 7 deletions

File tree

README.md

Lines changed: 6 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -38,14 +38,14 @@ Reasons to choose PCRE-OCaml:
3838

3939
Please 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

5151
Consult the [API](https://mmottl.github.io/pcre-ocaml/api/pcre) for details.
@@ -112,8 +112,7 @@ utop # let rex = regexp "12+3";;
112112
val rex : regexp = <abstr>
113113
utop # let workspace = Array.make 40 0;;
114114
val 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+
[| ... |]
117116
utop # pcre_dfa_exec ~rex ~flags:[`PARTIAL] ~workspace "12222";;
118117
Exception: Pcre.Error Partial.
119118
utop # pcre_dfa_exec ~rex ~flags:[`PARTIAL; `DFA_RESTART] ~workspace "2222222";;

0 commit comments

Comments
 (0)