Skip to content

Commit 51d587f

Browse files
authored
Merge pull request #282 from apple/main-integration-da89bf7
[Integration] main (a0ed7e1) -> swift/main
2 parents b583909 + 1203e69 commit 51d587f

File tree

77 files changed

+4410
-8029
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

77 files changed

+4410
-8029
lines changed
Lines changed: 55 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,55 @@
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)
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)
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 `CustomMatchingRegexComponent`, 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: TBD
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 literal and DSL API for library-defined character classes, Unicode scripts and properties, and custom character classes.
52+
- Proposes literal and DSL API for options that affect matching behavior.
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

Comments
 (0)