@@ -119,27 +119,27 @@ public function testValidRegexPatternBefore73(): void
119
119
43 ,
120
120
],
121
121
[
122
- 'Regex pattern is invalid: Delimiter must not be alphanumeric or backslash in pattern: nok ' ,
122
+ 'Regex pattern is invalid: Delimiter must not be alphanumeric or backslash in pattern: nok.* ' ,
123
123
57 ,
124
124
],
125
125
[
126
- 'Regex pattern is invalid: Delimiter must not be alphanumeric or backslash in pattern: nok ' ,
126
+ 'Regex pattern is invalid: Delimiter must not be alphanumeric or backslash in pattern: nok.* ' ,
127
127
58 ,
128
128
],
129
129
[
130
- 'Regex pattern is invalid: Compilation failed: missing ) at offset 1 in pattern: ~(~ ' ,
130
+ 'Regex pattern is invalid: Compilation failed: missing ) at offset 3 in pattern: ~(.* ~ ' ,
131
131
59 ,
132
132
],
133
133
[
134
- 'Regex pattern is invalid: Delimiter must not be alphanumeric or backslash in pattern: noknono ' ,
134
+ 'Regex pattern is invalid: Delimiter must not be alphanumeric or backslash in pattern: nok.*nono ' ,
135
135
61 ,
136
136
],
137
137
[
138
- 'Regex pattern is invalid: Delimiter must not be alphanumeric or backslash in pattern: noknope ' ,
138
+ 'Regex pattern is invalid: Delimiter must not be alphanumeric or backslash in pattern: nok.*nope ' ,
139
139
62 ,
140
140
],
141
141
[
142
- 'Regex pattern is invalid: Compilation failed: missing ) at offset 1 in pattern: ~(~ ' ,
142
+ 'Regex pattern is invalid: Compilation failed: missing ) at offset 3 in pattern: ~(.* ~ ' ,
143
143
63 ,
144
144
],
145
145
],
@@ -249,27 +249,27 @@ public function testValidRegexPatternAfter73(): void
249
249
43 ,
250
250
],
251
251
[
252
- sprintf ('Regex pattern is invalid: Delimiter must not be %s in pattern: nok ' , $ messagePart ),
252
+ sprintf ('Regex pattern is invalid: Delimiter must not be %s in pattern: nok.* ' , $ messagePart ),
253
253
57 ,
254
254
],
255
255
[
256
- sprintf ('Regex pattern is invalid: Delimiter must not be %s in pattern: nok ' , $ messagePart ),
256
+ sprintf ('Regex pattern is invalid: Delimiter must not be %s in pattern: nok.* ' , $ messagePart ),
257
257
58 ,
258
258
],
259
259
[
260
- 'Regex pattern is invalid: Compilation failed: missing closing parenthesis at offset 1 in pattern: ~(~ ' ,
260
+ 'Regex pattern is invalid: Compilation failed: missing closing parenthesis at offset 3 in pattern: ~(.* ~ ' ,
261
261
59 ,
262
262
],
263
263
[
264
- sprintf ('Regex pattern is invalid: Delimiter must not be %s in pattern: noknono ' , $ messagePart ),
264
+ sprintf ('Regex pattern is invalid: Delimiter must not be %s in pattern: nok.*nono ' , $ messagePart ),
265
265
61 ,
266
266
],
267
267
[
268
- sprintf ('Regex pattern is invalid: Delimiter must not be %s in pattern: noknope ' , $ messagePart ),
268
+ sprintf ('Regex pattern is invalid: Delimiter must not be %s in pattern: nok.*nope ' , $ messagePart ),
269
269
62 ,
270
270
],
271
271
[
272
- 'Regex pattern is invalid: Compilation failed: missing closing parenthesis at offset 1 in pattern: ~(~ ' ,
272
+ 'Regex pattern is invalid: Compilation failed: missing closing parenthesis at offset 3 in pattern: ~(.* ~ ' ,
273
273
63 ,
274
274
],
275
275
],
0 commit comments