Structureswift 6.0.1_RegexParser
CaptureList
struct CaptureList
struct CaptureList
import _RegexParser
protocol Copyable
A type whose values can be implicitly or explicitly copied.
protocol CustomStringConvertible
A type with a customized textual representation.
protocol Equatable
A type that can be compared for value equality.
protocol Escapable
protocol ExpressibleByArrayLiteral
A type that can be initialized using an array literal.
init<S>(_ s: S) where S : Sequence, S.Element == CaptureList.Capture
init(arrayLiteral elements: CaptureList.Capture...)
var captures: [CaptureList.Capture]
var description: String { get }
mutating func append(_ c: CaptureList.Capture)
func hasCapture(named name: String) -> Bool
Whether the capture list has a given named capture.
func indexOfCapture(named name: String) -> Int?
Retrieve the capture index of a given named capture, or nil
if there is no such capture.
struct Builder
struct Capture
var halfWidthCornerQuoted: String { get }
static func != (lhs: Self, rhs: Self) -> Bool
Returns a Boolean value indicating whether two values are not equal.