Module CamomileLibrary.URe

Regular expression engine.

type regexp = [
| `Alt of regexp * regexp
| `Seq of regexp * regexp
| `Rep of regexp
| `Repn of regexp * int * int option
| `After of regexp
| `Before of regexp
| `Epsilon
| `Group of regexp
| `OneChar
| `String of UChar.t list
| `Set of USet.t
| `BoS
| `EoS
]

Abstract syntax trees of regular expressions.

type match_semantics = [
| `First
| `Shortest
| `Longest
]

Match semantics.

val no_group : regexp -> regexp

Remove `Group from the regular expressions.

module type Type = sig ... end
module Make : functor (Text : UnicodeString.Type) -> Type with type text = Text.t and type index = Text.index