Debian Codegraph @

vendor/re/src/compile.mli

raw
1 type re
2
3 type match_info =
4 | Match of Group.t
5 | Failed
6 | Running of { no_match_starts_before : int }
7
8 val match_str_no_bounds
9 : groups:bool
10 -> partial:bool
11 -> re
12 -> string
13 -> pos:int
14 -> len:int
15 -> match_info
16
17 val match_str
18 : groups:bool
19 -> partial:bool
20 -> re
21 -> string
22 -> pos:int
23 -> len:int
24 -> match_info
25
26 val match_str_p : re -> string -> pos:int -> len:int -> bool
27 val compile : Ast.t -> re
28 val group_count : re -> int
29 val group_names : re -> (string * int) list
30 val pp_re : re Fmt.t