package ochre

  1. Overview
  2. Docs
Syntax highlighter using TextMate grammars and themes

Install

dune-project
 Dependency

Authors

Maintainers

Sources

ochre-1.1.0.tbz
sha256=a8e38fbcd22fbb68b0f7d93b36a2ba1670e8bd061b43a0177226738307183a32
sha512=7b344c3812be283b0101078564e564732f878ad226c7ce0212c9e9139fb41a291e4d31ad52c949f2978c48e04240d4d22b5b4ae63808e15a21c44a2fbeed8a22

doc/ochre.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
Sourceval ignorecase_is_ascii : compile_time t
Sourceval word_is_ascii : compile_time t
Sourceval digit_is_ascii : compile_time t
Sourceval space_is_ascii : compile_time t
Sourceval posix_is_ascii : compile_time t
Sourceval text_segment_extended_grapheme_cluster : compile_time t
Sourceval text_segment_word : compile_time t
Sourcetype search_time

Represents search-time options.

Sourceval notbol : search_time t
Sourceval noteol : search_time t
Sourceval not_begin_position : search_time t
Sourceval not_begin_string : search_time t
Sourceval not_end_string : search_time t
Sourceval posix_region : search_time t
Sourceval check_validity_of_string : search_time t
Sourceval callback_each_match : search_time t