Module Oniguruma.MatchParamSource

Per-call match parameters.

Sourcetype t

Per-search/match parameter set for tuning limits.

Sourceval create : unit -> t

create () allocates and initializes a match parameter set with the current global defaults.

Sourceval set_match_stack_limit_size : t -> int -> unit

set_match_stack_limit_size mp limit sets the match stack limit for this parameter set.

Sourceval set_retry_limit_in_match : t -> int -> unit

set_retry_limit_in_match mp limit sets the retry limit during matching for this parameter set.

set_retry_limit_in_search mp limit sets the retry limit during searching for this parameter set.