package camomile

  1. Overview
  2. Docs
A Unicode library

Install

Dune Dependency

Authors

Maintainers

Sources

v2.0.0.tar.gz
md5=41e02d124c3fa29ea511110d2c6532de
sha512=b0ae3d921f65390e8ec88a04901dd097b568db9f9ae70fb328e9d3ddb2dd8922b9a8e8da9ace91ad9cb5f6a1310ae5b6ba502e287d6c828f4d60622289316ac8

doc/camomile.lib/CamomileLib/URe/index.html

Module CamomileLib.URe

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 = sig ... end
module Make (Text : UnicodeString.Type) : Type with type text = Text.t and type index = Text.index
OCaml

Innovation. Community. Security.