|
| 1 | + |
| 2 | +# Regex Proposals |
| 3 | + |
| 4 | +## Regex Type and Overview |
| 5 | + |
| 6 | +- [Proposal](https://github.com/apple/swift-evolution/blob/main/proposals/0350-regex-type-overview.md), [Thread](https://forums.swift.org/t/se-0350-regex-type-and-overview/56530) |
| 7 | +- [Pitch thread](https://forums.swift.org/t/pitch-regex-type-and-overview/56029) |
| 8 | + |
| 9 | +Presents basic Regex type and gives an overview of how everything fits into the overall story |
| 10 | + |
| 11 | + |
| 12 | +## Regex Builder DSL |
| 13 | + |
| 14 | +- [Proposal](https://github.com/apple/swift-evolution/blob/main/proposals/0351-regex-builder.md), [Thread](https://forums.swift.org/t/se-0351-regex-builder-dsl/56531) |
| 15 | +- [Pitch thread](https://forums.swift.org/t/pitch-regex-builder-dsl/56007) |
| 16 | + |
| 17 | +Covers the result builder approach and basic API. |
| 18 | + |
| 19 | + |
| 20 | +## Run-time Regex Construction |
| 21 | + |
| 22 | +- [Pitch](https://github.com/apple/swift-experimental-string-processing/blob/main/Documentation/Evolution/RegexSyntaxRunTimeConstruction.md), [Thread](https://forums.swift.org/t/pitch-2-regex-syntax-and-run-time-construction/56624) |
| 23 | +- (old) Pitch thread: [Regex Syntax](https://forums.swift.org/t/pitch-regex-syntax/55711) |
| 24 | + + Brief: Syntactic superset of PCRE2, Oniguruma, ICU, UTS\#18, etc. |
| 25 | + |
| 26 | +Covers the "interior" syntax, extended syntaxes, run-time construction of a regex from a string, and details of `AnyRegexOutput`. |
| 27 | + |
| 28 | +## Regex Literals |
| 29 | + |
| 30 | +- [Draft](https://github.com/apple/swift-experimental-string-processing/pull/187), [Thread](https://forums.swift.org/t/pitch-2-regex-literals/56736) |
| 31 | +- (Old) original pitch: |
| 32 | + + [Thread](https://forums.swift.org/t/pitch-regular-expression-literals/52820) |
| 33 | + + [Update](https://forums.swift.org/t/pitch-regular-expression-literals/52820/90) |
| 34 | + |
| 35 | + |
| 36 | +## String processing algorithms |
| 37 | + |
| 38 | +- [Pitch thread](https://forums.swift.org/t/pitch-regex-powered-string-processing-algorithms/55969) |
| 39 | + |
| 40 | +Proposes a slew of Regex-powered algorithms. |
| 41 | + |
| 42 | +Introduces `CustomConsumingRegexComponent`, which is a monadic-parser style interface for external parsers to be used as components of a regex. |
| 43 | + |
| 44 | +## Unicode for String Processing |
| 45 | + |
| 46 | +- [Draft](https://github.com/apple/swift-experimental-string-processing/blob/main/Documentation/Evolution/UnicodeForStringProcessing.md) |
| 47 | +- (Old) [Character class definitions](https://forums.swift.org/t/pitch-character-classes-for-string-processing/52920) |
| 48 | + |
| 49 | +Covers three topics: |
| 50 | + |
| 51 | +- Proposes regex syntax and `RegexBuilder` API for options that affect matching behavior. |
| 52 | +- Proposes regex syntax and `RegexBuilder` API for library-defined character classes, Unicode properties, and custom character classes. |
| 53 | +- Defines how Unicode scalar-based classes are extended to grapheme clusters in the different semantic and other matching modes. |
| 54 | + |
| 55 | + |
0 commit comments