One Logo Pool Ball
RegexBuilder · IOS API REFERENCE

Lookahead

struct · iOS 16.0+ · SDK 27.1

struct Lookahead<Output>

A regex component that allows a match to continue only if its contents match at the given location. A lookahead is a zero-length assertion that its included regex matches at a particular position. Lookaheads do not advance the overall matching position in the input string — once a lookahead succeeds, matching continues in the regex from the same position.

Members (0)

This type has no directly callable members in this snapshot. See the framework’s skipped declarations for unsupported APIs.

Skipped declarations

2 declarations were excluded from these bindings. Each reason comes from the generator or the iOS SDK compiler.

Lookahead.init(_:)

This declaration needs Swift generic type arguments. (no canonical witness for R)

Lookahead.init(_:)

This declaration needs Swift generic type arguments. (no canonical witness for R)

All RegexBuilder types →