Enumerationswift 6.0.1_RegexParser
EscapedBuiltin
enum EscapedBuiltin
Cases
case alarm
\a
case backspace
\b (from within a custom character class)
case carriageReturn
\r
case decimalDigit
\d
case endOfSubject
\z
case endOfSubjectBeforeNewline
\Z
case escape
\e
case firstMatchingPositionInSubject
\G
case formfeed
\f
case graphemeCluster
\X
case horizontalWhitespace
\h
case newline
\n
case newlineSequence
\R
case notDecimalDigit
\D
case notHorizontalWhitespace
\H
case notNewline
\N
case notTextSegment
\Y
case notVerticalTab
\V
case notWhitespace
\S
case notWordBoundary
\B
case notWordCharacter
\W
case resetStartOfMatch
\K
case singleDataUnit
\C
case startOfSubject
\A
case tab
\t
case textSegment
\y
case trueAnychar
\O
case verticalTab
\v
case whitespace
\s
case wordBoundary
\b (from outside a custom character class)
case wordCharacter
\w
Other members in extension
View members
Hide members
This section is hidden by default because it contains too many (14) members.
Types
struct BacktrackingDirective
enum Callout
struct CharacterProperty
enum Kind
struct Number
struct Scalar
struct ScalarSequence
Type members
Instance members
var isQuantifiable: Bool
var isValidCharacterClassRangeBound: Bool
Whether this atom is valid as the operand of a custom character class range.
let kind: AST.Atom.Kind
var literalCharacterValue: Character?
Retrieves the character value of the atom.
var literalStringValue: String?
A string literal representation of the atom, if possible.
let location: SourceLocation
Citizens in _RegexParser
Conformances
protocol Equatable
A type that can be compared for value equality.
protocol Hashable
A type that can be hashed into a
Hasher
to produce an integer hash value.
Type members
Instance members
var character: Character
var isQuantifiable: Bool
var scalarValue: UnicodeScalar?
If the escape sequence represents a unicode scalar value, returns the value, otherwise
nil
.
Type features
static func != (lhs: Self, rhs: Self
) -> Bool Returns a Boolean value indicating whether two values are not equal.