---
title: "ClikaRT::regex::Regex::Options"
sidebar_label: "Regex::Options"
description: "Compile-time options (a subset of the engine's)."
---

<!-- Generated by tools/doxygen2mdx from Doxygen XML. Do not edit. -->

<span class="api-kind api-kind--struct">struct</span>

**Header:** `ClikaRT/regex/regex.h`

Compile-time options (a subset of the engine's).

## Data members

### case\_sensitive {#case_sensitive}

<div class="api-signature">

`bool` **`case_sensitive`** `= true`

</div>

false → case-insensitive

<div class="api-declared">

Declared in `ClikaRT/regex/regex.h`, line 54

</div>

### longest\_match {#longest_match}

<div class="api-signature">

`bool` **`longest_match`** `= false`

</div>

leftmost-longest, not leftmost-first

<div class="api-declared">

Declared in `ClikaRT/regex/regex.h`, line 55

</div>

### dot\_matches\_newline {#dot_matches_newline}

<div class="api-signature">

`bool` **`dot_matches_newline`** `= false`

</div>

`.` also matches a newline

<div class="api-declared">

Declared in `ClikaRT/regex/regex.h`, line 56

</div>

### never\_capture {#never_capture}

<div class="api-signature">

`bool` **`never_capture`** `= false`

</div>

treat every group as non-capturing

<div class="api-declared">

Declared in `ClikaRT/regex/regex.h`, line 57

</div>

### max\_program\_memory {#max_program_memory}

<div class="api-signature">

`std::int64_t` **`max_program_memory`** `= 0`

</div>

\>0 → cap compiled-program memory (bytes)

<div class="api-declared">

Declared in `ClikaRT/regex/regex.h`, line 58

</div>

### encoding {#encoding}

<div class="api-signature">

[`Encoding`](./Regex.md#Encoding) **`encoding`** `=` [`Encoding::Utf8`](./Regex.md#Encoding)

</div>

byte interpretation

<div class="api-declared">

Declared in `ClikaRT/regex/regex.h`, line 59

</div>
