Skip to content

Commit 8b2fd5d

Browse files
committed
[String][UnicodeString] Remove unneeded flag in chunk regex pattern
1 parent 96868dd commit 8b2fd5d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

UnicodeString.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@ public function chunk(int $length = 1): array
7171
$rx .= '\X{65535}';
7272
$length -= 65535;
7373
}
74-
$rx .= '\X{'.$length.'})/us';
74+
$rx .= '\X{'.$length.'})/u';
7575

7676
$str = clone $this;
7777
$chunks = [];

0 commit comments

Comments
 (0)