Skip to content

Commit ed6f29f

Browse files
authored
Merge pull request #764 from tshortli/missing-regex-parser-imports-swift-main
[swift/main] Add missing imports of _RegexParser
2 parents b5764dd + 8f2d6a5 commit ed6f29f

File tree

7 files changed

+12
-0
lines changed

7 files changed

+12
-0
lines changed

Sources/_StringProcessing/Engine/MEQuantify.swift

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
internal import _RegexParser
2+
13
private typealias ASCIIBitset = DSLTree.CustomCharacterClass.AsciiBitset
24

35
extension Processor {

Sources/_StringProcessing/Engine/Processor.swift

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@
99
//
1010
//===----------------------------------------------------------------------===//
1111

12+
internal import _RegexParser
1213

1314
enum MatchMode {
1415
case wholeString

Sources/_StringProcessing/Regex/Match.swift

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,8 @@
99
//
1010
//===----------------------------------------------------------------------===//
1111

12+
internal import _RegexParser
13+
1214
@available(SwiftStdlib 5.7, *)
1315
extension Regex {
1416
/// The result of matching a regular expression against a string.

Sources/_StringProcessing/Unicode/NFC.swift

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,8 @@
99
//
1010
//===----------------------------------------------------------------------===//
1111

12+
internal import _RegexParser
13+
1214
@_spi(_Unicode)
1315
import Swift
1416

Sources/_StringProcessing/Unicode/ScalarProps.swift

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,8 @@
99
//
1010
//===----------------------------------------------------------------------===//
1111

12+
internal import _RegexParser
13+
1214
@_silgen_name("_swift_string_processing_getScript")
1315
func _swift_string_processing_getScript(_: UInt32) -> UInt8
1416

Sources/_StringProcessing/Unicode/WordBreaking.swift

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,8 @@
99
//
1010
//===----------------------------------------------------------------------===//
1111

12+
internal import _RegexParser
13+
1214
@_spi(_Unicode)
1315
import Swift
1416

Sources/_StringProcessing/Utility/TypedInt.swift

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@
99
//
1010
//===----------------------------------------------------------------------===//
1111

12+
internal import _RegexParser
1213

1314
// Just a phantom-typed Int wrapper.
1415
struct TypedInt<👻>: RawRepresentable, Hashable {

0 commit comments

Comments
 (0)