Instance Propertyswift 6.0.3_StringProcessing
startIndex
- iOS
- 16.0+
- macOS
- 13.0+
- tvOS
- 16.0+
- watchOS
- 9.0+
var startIndex: Int { get }
var startIndex: Int { get }
import _StringProcessing
struct AnyRegexOutput
The type-erased, dynamic output of a regular expression match.
@frozen struct Int
A signed integer value type.
init<Output>(_ match: Regex<Output>.Match)
Creates a dynamic regular expression match output from an existing match.
var count: Int { get }
var endIndex: Int { get }
subscript(name: String) -> AnyRegexOutput.Element? { get }
Accesses the capture with the specified name, if a capture with that name exists.
subscript(position: Int) -> AnyRegexOutput.Element { get }
func extractValues<Output>(as outputType: Output.Type = Output.self) -> Output?
Returns strongly-typed match output by converting this type-erased output to the specified type, if possible.
func index(after i: Int) -> Int
func index(before i: Int) -> Int
struct Element
An individual match output value.