# RegexCompileError

- **Package:** libtmux-swift
- **Language:** Swift
- **Kind:** enum
- **Source:** https://github.com/libtmux/libtmux-swift/blob/f02a4668570e1cc5198c941413750e021f42c214/Sources/LibTmux/RegexPattern.swift#L14
- **Page:** https://libtmux.org/reference/swift/regexcompileerror/

Why a ``RegexPattern`` could not be compiled.

Token offsets count UTF-8 bytes in ``RegexPattern/source``.

## Members

- `!=(_:_:)` (function) — Returns a Boolean value indicating whether two values are not equal.
- `localizedDescription` (property) — Retrieve the localized description for this error.
- `sourceTooLong(maximumUTF8Bytes:actualUTF8Bytes:)` (constant)
- `unsupportedOptions(rawValue:)` (constant)
- `nestingTooDeep(offset:maximum:)` (constant)
- `unexpectedToken(offset:)` (constant)
- `unterminatedGroup(offset:)` (constant)
- `unterminatedCharacterClass(offset:)` (constant)
- `emptyCharacterClass(offset:)` (constant)
- `invalidCharacterRange(offset:)` (constant)
- `invalidRepetition(offset:)` (constant)
- `repetitionTooLarge(offset:maximum:)` (constant)
- `unsupportedConstruct(offset:construct:)` (constant)
- `stateLimitExceeded(offset:maximum:)` (constant)
