package camomile

  1. Overview
  2. Docs
Legend:
Library
Module
Module type
Parameter
Class
Class type

Regular expression engine.

type regexp = [
  1. | `Alt of regexp * regexp
  2. | `Seq of regexp * regexp
  3. | `Rep of regexp
  4. | `Repn of regexp * int * int option
  5. | `After of regexp
  6. | `Before of regexp
  7. | `Epsilon
  8. | `Group of regexp
  9. | `OneChar
  10. | `String of UChar.t list
  11. | `Set of USet.t
  12. | `BoS
  13. | `EoS
]

Abstract syntax trees of regular expressions.

type match_semantics = [
  1. | `First
  2. | `Shortest
  3. | `Longest
]

Match semantics.

val no_group : regexp -> regexp

Remove `Group from the regular expressions.

module type Type = URe.Type
module Make = URe.Make