package oniguruma

  1. Overview
  2. Docs
Bindings to the Oniguruma regular expression library

Install

dune-project
 Dependency

Authors

Maintainers

Sources

oniguruma-0.1.2.tbz
sha256=e3f63ffdda3cc3cf9f71a8169e8fb97690026dbd22ab7ce0a87891feb8058765
sha512=4d8561b50bf13a792d05d2ac775948ab6f913730202c40012aa1ac7caf5a2f2aba26f7e1dcb3f93528e2be79602fd26de62346bec7d8986d9c48efdb71f94409

doc/oniguruma/Oniguruma/Options/index.html

Module Oniguruma.OptionsSource

Regex options.

Sourcetype _ t

An option. The phantom type parameter indicates whether it is compile-time or search-time.

Sourceval (<+>) : 'a t -> 'a t -> 'a t

Combines options.

This operation is:

  • Associative: (x <+> y) <+> z = x <+> (y <+> z)
  • Commutative: x <+> y = y <+> x
  • Idempotent: x <+> x = x
Sourceval none : _ t

No options. The identity element of (<+>):

  • none <+> x = x
  • x <+> none = x
Sourcetype compile_time

Represents compile-time options.

Sourceval singleline : compile_time t
Sourceval multiline : compile_time t
Sourceval ignorecase : compile_time t
Sourceval extend : compile_time t
Sourceval find_longest : compile_time t
Sourceval find_not_empty : compile_time t
Sourceval negate_singleline : compile_time t
Sourceval dont_capture_group : compile_time t
Sourceval capture_group : compile_time t
Sourcetype search_time

Represents search-time options.

Sourceval notbol : search_time t
Sourceval noteol : search_time t