ocamlnet

Internet protocols (HTTP, CGI, e-mail etc.) and helper data structures
Overview Documentation
IN THIS PACKAGE
  • library equeue
  • library netaccel
  • library netcamlbox
  • library netcgi
  • library netcgi2-plex
  • library netclient
  • library nethttpd
  • library netmulticore
  • library netplex
  • library netshm
  • library netstring
  • library netstring-pcre
  • library netsys
  • library netsys_oothr
  • library netsys_oothr_mt
  • library netunidata
  • library rpc
  • library rpc_auth_local
  • library rpc_generator
  • library shell
type regexp = Pcre.regexp
type split_result = Pcre.split_result =
| Text of string
| Delim of string
| Group of int * string
| NoGroup
type result
val regexp : string -> regexp
val regexp_case_fold : string -> regexp
val quote : string -> string
val regexp_string : string -> regexp
val regexp_string_case_fold : string -> regexp
val string_match : regexp -> string -> int -> result option
val bytes_match : regexp -> Bytes.t -> int -> result option
val search_forward : regexp -> string -> int -> int * result
val search_forward_bytes : regexp -> Bytes.t -> int -> int * result
val search_backward : regexp -> string -> int -> int * result
val search_backward_bytes : regexp -> Bytes.t -> int -> int * result
val matched_string : result -> string -> string
val matched_bytes : result -> Bytes.t -> Bytes.t
val match_beginning : result -> int
val match_end : result -> int
val matched_group : result -> int -> string -> string
val matched_group_bytes : result -> int -> Bytes.t -> Bytes.t
val group_beginning : result -> int -> int
val group_end : result -> int -> int
val global_replace : regexp -> string -> string -> string
val replace_first : regexp -> string -> string -> string
val global_substitute : regexp -> ( result -> string -> string ) -> string -> string
val substitute_first : regexp -> ( result -> string -> string ) -> string -> string
val split : regexp -> string -> string list
val bounded_split : regexp -> string -> int -> string list
val split_delim : regexp -> string -> string list
val bounded_split_delim : regexp -> string -> int -> string list
val full_split : regexp -> string -> split_result list
val bounded_full_split : regexp -> string -> int -> split_result list
val string_before : string -> int -> string
val string_after : string -> int -> string
val first_chars : string -> int -> string
val last_chars : string -> int -> string