You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Presents the basic result builder approach of putting type arity and kind of capture in generic type parameter position.
The pitch proposes that the whole match ("capture 0") also be a generic parameter, pending a deeper look into details concerning variadic generics and/or additional result builder API.
TODO: Probably makes sense to slurp this up into one of the other pitches.
The text was updated successfully, but these errors were encountered:
Regex type and overview
Presents basic Regex type and gives an overview of how everything fits into the overall story
TODO: Should we pull more into this topic, perhaps either typed captures or more run-time creation aspects?
Run-time Regex construction
AnyRegexOutput
into this threadCovers the "interior" syntax, extended syntaxes, run-time construction of a regex from a string, and details of
AnyRegexOutput
.Regex literals
Covers the choice of regex delimiter and integration into the Swift programming language.
TODO: Should we pull more into this topic? E.g. introducing typed captures here?
Regex builder DSL
Covers the result builder approach and basic API.
String processing algorithms
Proposes a slew of Regex-powered algorithms.
Introduces
CustomMatchingRegexComponent
, which is a monadic-parser style interface for external parsers to be used as components of a regex.Unicode for String Processing
TODO: Where is this at @natecook1000?
Thread on Swift Forums
Covers three topics:
TODO:
Target date: Proposal ready for review by 3/7
⏳ SE-0348:
buildPartialBlock
for result builders(Old) Overview
Introduces our general approach: regex literals and result builders together.
(Old) Pitch: Regular expression literals
(Old) Pitch: Strongly typed regex captures
Presents the basic result builder approach of putting type arity and kind of capture in generic type parameter position.
The pitch proposes that the whole match ("capture 0") also be a generic parameter, pending a deeper look into details concerning variadic generics and/or additional result builder API.
TODO: Probably makes sense to slurp this up into one of the other pitches.
The text was updated successfully, but these errors were encountered: