Interface ReadonlyFlags

A simple interface to represent JS RegExp flags.

All properties are optional and assumed to be false by default.

Hierarchy

  • ReadonlyFlags

Properties

dotAll?: boolean

The s flag.

Default

false
global?: boolean

The g flag.

Default

false
hasIndices?: boolean

The d flag.

Default

false
ignoreCase?: boolean

The i flag.

Default

false
multiline?: boolean

The m flag.

Default

false
sticky?: boolean

The y flag.

Default

false
unicode?: boolean

The u flag.

Default

false
unicodeSets?: boolean

The v flag.

Default

false