@@ -501,15 +501,15 @@ extension RegexBuilder {
501
501
}
502
502
}
503
503
@_disfavoredOverload
504
- public func many < Component: RegexProtocol > (
504
+ public func zeroOrMore < Component: RegexProtocol > (
505
505
_ component: Component ,
506
506
_ behavior: QuantificationBehavior = . eagerly
507
507
) -> Regex < Substring > {
508
508
. init( node: . quantification( . zeroOrMore, behavior. astKind, component. regex. root) )
509
509
}
510
510
511
511
@_disfavoredOverload
512
- public func many < Component: RegexProtocol > (
512
+ public func zeroOrMore < Component: RegexProtocol > (
513
513
_ behavior: QuantificationBehavior = . eagerly,
514
514
@RegexBuilder _ component: ( ) -> Component
515
515
) -> Regex < Substring > {
@@ -579,15 +579,15 @@ extension RegexBuilder {
579
579
}
580
580
}
581
581
582
- public func many < W, C0, Component: RegexProtocol > (
582
+ public func zeroOrMore < W, C0, Component: RegexProtocol > (
583
583
_ component: Component ,
584
584
_ behavior: QuantificationBehavior = . eagerly
585
585
) -> Regex < ( Substring , [ C0 ] ) > where Component. Match == ( W , C0 ) {
586
586
. init( node: . quantification( . zeroOrMore, behavior. astKind, component. regex. root) )
587
587
}
588
588
589
589
590
- public func many < W, C0, Component: RegexProtocol > (
590
+ public func zeroOrMore < W, C0, Component: RegexProtocol > (
591
591
_ behavior: QuantificationBehavior = . eagerly,
592
592
@RegexBuilder _ component: ( ) -> Component
593
593
) -> Regex < ( Substring , [ C0 ] ) > where Component. Match == ( W , C0 ) {
@@ -657,15 +657,15 @@ extension RegexBuilder {
657
657
}
658
658
}
659
659
660
- public func many < W, C0, C1, Component: RegexProtocol > (
660
+ public func zeroOrMore < W, C0, C1, Component: RegexProtocol > (
661
661
_ component: Component ,
662
662
_ behavior: QuantificationBehavior = . eagerly
663
663
) -> Regex < ( Substring , [ ( C0 , C1 ) ] ) > where Component. Match == ( W , C0 , C1 ) {
664
664
. init( node: . quantification( . zeroOrMore, behavior. astKind, component. regex. root) )
665
665
}
666
666
667
667
668
- public func many < W, C0, C1, Component: RegexProtocol > (
668
+ public func zeroOrMore < W, C0, C1, Component: RegexProtocol > (
669
669
_ behavior: QuantificationBehavior = . eagerly,
670
670
@RegexBuilder _ component: ( ) -> Component
671
671
) -> Regex < ( Substring , [ ( C0 , C1 ) ] ) > where Component. Match == ( W , C0 , C1 ) {
@@ -735,15 +735,15 @@ extension RegexBuilder {
735
735
}
736
736
}
737
737
738
- public func many < W, C0, C1, C2, Component: RegexProtocol > (
738
+ public func zeroOrMore < W, C0, C1, C2, Component: RegexProtocol > (
739
739
_ component: Component ,
740
740
_ behavior: QuantificationBehavior = . eagerly
741
741
) -> Regex < ( Substring , [ ( C0 , C1 , C2 ) ] ) > where Component. Match == ( W , C0 , C1 , C2 ) {
742
742
. init( node: . quantification( . zeroOrMore, behavior. astKind, component. regex. root) )
743
743
}
744
744
745
745
746
- public func many < W, C0, C1, C2, Component: RegexProtocol > (
746
+ public func zeroOrMore < W, C0, C1, C2, Component: RegexProtocol > (
747
747
_ behavior: QuantificationBehavior = . eagerly,
748
748
@RegexBuilder _ component: ( ) -> Component
749
749
) -> Regex < ( Substring , [ ( C0 , C1 , C2 ) ] ) > where Component. Match == ( W , C0 , C1 , C2 ) {
@@ -813,15 +813,15 @@ extension RegexBuilder {
813
813
}
814
814
}
815
815
816
- public func many < W, C0, C1, C2, C3, Component: RegexProtocol > (
816
+ public func zeroOrMore < W, C0, C1, C2, C3, Component: RegexProtocol > (
817
817
_ component: Component ,
818
818
_ behavior: QuantificationBehavior = . eagerly
819
819
) -> Regex < ( Substring , [ ( C0 , C1 , C2 , C3 ) ] ) > where Component. Match == ( W , C0 , C1 , C2 , C3 ) {
820
820
. init( node: . quantification( . zeroOrMore, behavior. astKind, component. regex. root) )
821
821
}
822
822
823
823
824
- public func many < W, C0, C1, C2, C3, Component: RegexProtocol > (
824
+ public func zeroOrMore < W, C0, C1, C2, C3, Component: RegexProtocol > (
825
825
_ behavior: QuantificationBehavior = . eagerly,
826
826
@RegexBuilder _ component: ( ) -> Component
827
827
) -> Regex < ( Substring , [ ( C0 , C1 , C2 , C3 ) ] ) > where Component. Match == ( W , C0 , C1 , C2 , C3 ) {
@@ -891,15 +891,15 @@ extension RegexBuilder {
891
891
}
892
892
}
893
893
894
- public func many < W, C0, C1, C2, C3, C4, Component: RegexProtocol > (
894
+ public func zeroOrMore < W, C0, C1, C2, C3, C4, Component: RegexProtocol > (
895
895
_ component: Component ,
896
896
_ behavior: QuantificationBehavior = . eagerly
897
897
) -> Regex < ( Substring , [ ( C0 , C1 , C2 , C3 , C4 ) ] ) > where Component. Match == ( W , C0 , C1 , C2 , C3 , C4 ) {
898
898
. init( node: . quantification( . zeroOrMore, behavior. astKind, component. regex. root) )
899
899
}
900
900
901
901
902
- public func many < W, C0, C1, C2, C3, C4, Component: RegexProtocol > (
902
+ public func zeroOrMore < W, C0, C1, C2, C3, C4, Component: RegexProtocol > (
903
903
_ behavior: QuantificationBehavior = . eagerly,
904
904
@RegexBuilder _ component: ( ) -> Component
905
905
) -> Regex < ( Substring , [ ( C0 , C1 , C2 , C3 , C4 ) ] ) > where Component. Match == ( W , C0 , C1 , C2 , C3 , C4 ) {
@@ -969,15 +969,15 @@ extension RegexBuilder {
969
969
}
970
970
}
971
971
972
- public func many < W, C0, C1, C2, C3, C4, C5, Component: RegexProtocol > (
972
+ public func zeroOrMore < W, C0, C1, C2, C3, C4, C5, Component: RegexProtocol > (
973
973
_ component: Component ,
974
974
_ behavior: QuantificationBehavior = . eagerly
975
975
) -> Regex < ( Substring , [ ( C0 , C1 , C2 , C3 , C4 , C5 ) ] ) > where Component. Match == ( W , C0 , C1 , C2 , C3 , C4 , C5 ) {
976
976
. init( node: . quantification( . zeroOrMore, behavior. astKind, component. regex. root) )
977
977
}
978
978
979
979
980
- public func many < W, C0, C1, C2, C3, C4, C5, Component: RegexProtocol > (
980
+ public func zeroOrMore < W, C0, C1, C2, C3, C4, C5, Component: RegexProtocol > (
981
981
_ behavior: QuantificationBehavior = . eagerly,
982
982
@RegexBuilder _ component: ( ) -> Component
983
983
) -> Regex < ( Substring , [ ( C0 , C1 , C2 , C3 , C4 , C5 ) ] ) > where Component. Match == ( W , C0 , C1 , C2 , C3 , C4 , C5 ) {
@@ -1047,15 +1047,15 @@ extension RegexBuilder {
1047
1047
}
1048
1048
}
1049
1049
1050
- public func many < W, C0, C1, C2, C3, C4, C5, C6, Component: RegexProtocol > (
1050
+ public func zeroOrMore < W, C0, C1, C2, C3, C4, C5, C6, Component: RegexProtocol > (
1051
1051
_ component: Component ,
1052
1052
_ behavior: QuantificationBehavior = . eagerly
1053
1053
) -> Regex < ( Substring , [ ( C0 , C1 , C2 , C3 , C4 , C5 , C6 ) ] ) > where Component. Match == ( W , C0 , C1 , C2 , C3 , C4 , C5 , C6 ) {
1054
1054
. init( node: . quantification( . zeroOrMore, behavior. astKind, component. regex. root) )
1055
1055
}
1056
1056
1057
1057
1058
- public func many < W, C0, C1, C2, C3, C4, C5, C6, Component: RegexProtocol > (
1058
+ public func zeroOrMore < W, C0, C1, C2, C3, C4, C5, C6, Component: RegexProtocol > (
1059
1059
_ behavior: QuantificationBehavior = . eagerly,
1060
1060
@RegexBuilder _ component: ( ) -> Component
1061
1061
) -> Regex < ( Substring , [ ( C0 , C1 , C2 , C3 , C4 , C5 , C6 ) ] ) > where Component. Match == ( W , C0 , C1 , C2 , C3 , C4 , C5 , C6 ) {
@@ -1125,15 +1125,15 @@ extension RegexBuilder {
1125
1125
}
1126
1126
}
1127
1127
1128
- public func many < W, C0, C1, C2, C3, C4, C5, C6, C7, Component: RegexProtocol > (
1128
+ public func zeroOrMore < W, C0, C1, C2, C3, C4, C5, C6, C7, Component: RegexProtocol > (
1129
1129
_ component: Component ,
1130
1130
_ behavior: QuantificationBehavior = . eagerly
1131
1131
) -> Regex < ( Substring , [ ( C0 , C1 , C2 , C3 , C4 , C5 , C6 , C7 ) ] ) > where Component. Match == ( W , C0 , C1 , C2 , C3 , C4 , C5 , C6 , C7 ) {
1132
1132
. init( node: . quantification( . zeroOrMore, behavior. astKind, component. regex. root) )
1133
1133
}
1134
1134
1135
1135
1136
- public func many < W, C0, C1, C2, C3, C4, C5, C6, C7, Component: RegexProtocol > (
1136
+ public func zeroOrMore < W, C0, C1, C2, C3, C4, C5, C6, C7, Component: RegexProtocol > (
1137
1137
_ behavior: QuantificationBehavior = . eagerly,
1138
1138
@RegexBuilder _ component: ( ) -> Component
1139
1139
) -> Regex < ( Substring , [ ( C0 , C1 , C2 , C3 , C4 , C5 , C6 , C7 ) ] ) > where Component. Match == ( W , C0 , C1 , C2 , C3 , C4 , C5 , C6 , C7 ) {
@@ -1203,15 +1203,15 @@ extension RegexBuilder {
1203
1203
}
1204
1204
}
1205
1205
1206
- public func many < W, C0, C1, C2, C3, C4, C5, C6, C7, C8, Component: RegexProtocol > (
1206
+ public func zeroOrMore < W, C0, C1, C2, C3, C4, C5, C6, C7, C8, Component: RegexProtocol > (
1207
1207
_ component: Component ,
1208
1208
_ behavior: QuantificationBehavior = . eagerly
1209
1209
) -> Regex < ( Substring , [ ( C0 , C1 , C2 , C3 , C4 , C5 , C6 , C7 , C8 ) ] ) > where Component. Match == ( W , C0 , C1 , C2 , C3 , C4 , C5 , C6 , C7 , C8 ) {
1210
1210
. init( node: . quantification( . zeroOrMore, behavior. astKind, component. regex. root) )
1211
1211
}
1212
1212
1213
1213
1214
- public func many < W, C0, C1, C2, C3, C4, C5, C6, C7, C8, Component: RegexProtocol > (
1214
+ public func zeroOrMore < W, C0, C1, C2, C3, C4, C5, C6, C7, C8, Component: RegexProtocol > (
1215
1215
_ behavior: QuantificationBehavior = . eagerly,
1216
1216
@RegexBuilder _ component: ( ) -> Component
1217
1217
) -> Regex < ( Substring , [ ( C0 , C1 , C2 , C3 , C4 , C5 , C6 , C7 , C8 ) ] ) > where Component. Match == ( W , C0 , C1 , C2 , C3 , C4 , C5 , C6 , C7 , C8 ) {
0 commit comments