package camomile

  1. Overview
  2. Docs
A Unicode library

Install

Dune Dependency

Authors

Maintainers

Sources

camomile-1.0.2.tbz
sha256=f0a419b0affc36500f83b086ffaa36c545560cee5d57e84b729e8f851b3d1632
sha512=7586422e68779476206027c6ebbe19b677fbe459153221f7c952c7fae374c5c8232249cb76fdb1f482069707aa1580be827cd39693906142988268b7f0e7f6d0

doc/camomile.library/CamomileLibrary/URe/index.html

Module CamomileLibrary.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.