package commons

  1. Overview
  2. Docs

Module Regexp_engineSource

Sourcetype t
Sourceval pcre_pattern : t -> string
Sourceval pcre_regexp : t -> Pcre.regexp
Sourceval show : t -> string
Sourceval equal : t -> t -> bool
Sourceval pp : Format.formatter -> t -> unit
Sourceval matching_exact_string : string -> t
Sourceval matching_exact_word : string -> t
Sourceval pcre_compile : string -> t
Sourceval anchored_match : ?on_error:bool -> t -> string -> bool

Match the pattern at the beginning of the string (anchored match) *

  • parameter on_error

    is the value to return in case we encounter a PCRE error.

Sourceval unanchored_match : ?on_error:bool -> t -> string -> bool

Match the pattern at any position in the string (unanchored match) *

  • parameter on_error

    is the value to return in case we encounter a PCRE error.

Sourceval remove_end_of_string_assertions : t -> t option
Sourceval remove_end_of_string_assertions_from_string : string -> string option
OCaml

Innovation. Community. Security.