package camomile

  1. Overview
  2. Docs
A Unicode library

Install

dune-project
 Dependency

Authors

Maintainers

Sources

v2.1.0.tar.gz
md5=35c450853b72e286bef9b75ae4821621
sha512=fff70942e1866c5ad180a9de392a153809db7858f6d9f1067cd88db8b23b03643d09666abf09e6fae3d4da99f44570158b83170104cee68fdd5c1fc41b7c3e7b

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