Up

Module type S

Signature

type t = [
| `Encoding_latin1 of bool
| `Posix_syntax of bool
| `Longest_match of bool
| `Log_errors of bool
| `Max_mem of int
| `Literal of bool
| `Never_nl of bool
| `Dot_nl of bool
| `Never_capture of bool
| `Case_sensitive of bool
| `Perl_classes of bool
| `Word_boundary of bool
| `One_line of bool
]

these options are exactly as defined by Google with two exceptions:

  • Encoding_latin1 means Latin1 if true and UTF if false
  • Log_errors is false by default (so noisy is provided instead of quiet) *
val latin1 : t list
val posix : t list
val noisy : t list