RegexCompileError
Why a RegexPattern could not be compiled.
Source and package
- Qualified name
-
RegexCompile Error - Package
- libtmux-swift
- Source
- Sources/LibTmux/RegexPattern.swift
- enum RegexCompileError : enum Regex
Compile Error -
Description#
Token offsets count UTF-8 bytes in
RegexPattern.source.
Members12#
- emptyCharacterClass(offset:): case emptyCharacterClass(offset: Int) constant
- invalidCharacterRange(offset:): case invalidCharacterRange(offset: Int) constant
- invalidRepetition(offset:): case invalidRepetition(offset: Int) constant
- nestingTooDeep(offset:maximum:): case nestingTooDeep(offset: Int, maximum: Int) constant
- repetitionTooLarge(offset:maximum:): case repetitionTooLarge(offset: Int, maximum: Int) constant
- sourceTooLong(maximumUTF8Bytes:actualUTF8Bytes:): case sourceTooLong(maximum
UTF8Bytes : Int, actualUTF8Bytes: Int) constant - stateLimitExceeded(offset:maximum:): case stateLimitExceeded(offset: Int, maximum: Int) constant
- unexpectedToken(offset:): case unexpectedToken(offset: Int) constant
- unsupportedConstruct(offset:construct:): case unsupportedConstruct(offset: Int, construct: Regex
Unsupported ) constantConstruct - unsupportedOptions(rawValue:): case unsupportedOptions(rawValue: UInt8) constant
- unterminatedCharacterClass(offset:): case unterminatedCharacterClass(offset: Int) constant
- unterminatedGroup(offset:): case unterminatedGroup(offset: Int) constant
Inherited members2 members#
Reached through Equatable.!=(_:_:), Error.localizedDescription.
- !=(_:_:) function inherited Returns a Boolean value indicating whether two values are not equal.
- localizedDescription property inherited Retrieve the localized description for this error.