package camomile

  1. Overview
  2. Docs
A Unicode library

Install

Dune Dependency

Authors

Maintainers

Sources

camomile-rel-1.0.0.tbz
sha256=718f8d0222d49cf2633462231f10e08c2f09aa824f1d11ac707cdc689a378ef0
md5=ade54c020169c5c7c5563751cd79f510

doc/camomile.library/CamomileLibrary/module-type-Type/URe/index.html

Module Type.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 = URe.Type
module Make = URe.Make
OCaml

Innovation. Community. Security.