package xstr

  1. Overview
  2. Docs
Legend:
Library
Module
Module type
Parameter
Class
Class type
type variable
type charset
type matcher =
  1. | Literal of string
  2. | Anystring
  3. | Lazystring
  4. | Anychar
  5. | Anystring_from of charset
  6. | Lazystring_from of charset
  7. | Anychar_from of charset
  8. | Nullstring
  9. | Alternative of matcher list list
  10. | Optional of matcher list
  11. | Record of variable * matcher list
  12. | Scanner of string -> int
val match_string : matcher list -> string -> bool
type replacer =
  1. | ReplaceLiteral of string
  2. | ReplaceVar of variable
  3. | ReplaceFunction of unit -> string
type rflag =
  1. | Anchored
  2. | Limit of int
val replace_matched_substrings : matcher list -> replacer list -> rflag list -> string -> string * int
val var : string -> variable
val var_matched : variable -> bool
val string_of_var : variable -> string
val found_string_of_var : variable -> string
val mkset : string -> charset
val mknegset : string -> charset
OCaml

Innovation. Community. Security.