Legend:
Library
Module
Module type
Parameter
Class
Class type
Library
Module
Module type
Parameter
Class
Class type
exception Error of error
exception Regexp_or of string * error
val size : regexp -> int
val studysize : regexp -> int
val capturecount : regexp -> int
val backrefmax : regexp -> int
val namecount : regexp -> int
val names : regexp -> string array
val nameentrysize : regexp -> int
val firstbyte : regexp -> firstbyte_info
val firsttable : regexp -> string option
val lastliteral : regexp -> char option
val study_stat : regexp -> study_stat
val get_stringnumber : regexp -> string -> int
val get_match_limit : regexp -> int option
val get_match_limit_recursion : regexp -> int option
val maketables : unit -> chtables
val get_subject : substrings -> string
val num_of_subs : substrings -> int
val get_substring : substrings -> int -> string
val get_substring_ofs : substrings -> int -> int * int
val get_substrings : ?full_match:bool -> substrings -> string array
val get_opt_substrings : ?full_match:bool -> substrings -> string option array
val get_named_substring : regexp -> string -> substrings -> string
val get_named_substring_ofs : regexp -> string -> substrings -> int * int
type callout_data = {
callout_number : int;
substrings : substrings;
start_match : int;
current_position : int;
capture_top : int;
capture_last : int;
pattern_position : int;
next_item_length : int;
}
type callout = callout_data -> unit
val exec :
?iflags:irflag ->
?flags:rflag list ->
?rex:regexp ->
?pat:string ->
?pos:int ->
?callout:callout ->
string ->
substrings
val exec_all :
?iflags:irflag ->
?flags:rflag list ->
?rex:regexp ->
?pat:string ->
?pos:int ->
?callout:callout ->
string ->
substrings array
val next_match :
?iflags:irflag ->
?flags:rflag list ->
?rex:regexp ->
?pat:string ->
?pos:int ->
?callout:callout ->
substrings ->
substrings
val subst : string -> substitution
val replace :
?iflags:irflag ->
?flags:rflag list ->
?rex:regexp ->
?pat:string ->
?pos:int ->
?itempl:substitution ->
?templ:string ->
?callout:callout ->
string ->
string
val substitute_substrings :
?iflags:irflag ->
?flags:rflag list ->
?rex:regexp ->
?pat:string ->
?pos:int ->
?callout:callout ->
subst:(substrings -> string) ->
string ->
string
val replace_first :
?iflags:irflag ->
?flags:rflag list ->
?rex:regexp ->
?pat:string ->
?pos:int ->
?itempl:substitution ->
?templ:string ->
?callout:callout ->
string ->
string
val substitute_substrings_first :
?iflags:irflag ->
?flags:rflag list ->
?rex:regexp ->
?pat:string ->
?pos:int ->
?callout:callout ->
subst:(substrings -> string) ->
string ->
string
val full_split :
?iflags:irflag ->
?flags:rflag list ->
?rex:regexp ->
?pat:string ->
?pos:int ->
?max:int ->
?callout:callout ->
string ->
split_result list
val foreach_line : ?ic:Pervasives.in_channel -> (string -> unit) -> unit
val foreach_file :
string list ->
(string -> Pervasives.in_channel -> unit) ->
unit
val make_ovector : regexp -> int * int array