Skip to content

Commit ec043c0

Browse files
committed
multi word comment
1 parent 2926ff0 commit ec043c0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

resources/lib/UnityUser.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -303,7 +303,7 @@ public function getSSHKeys(): array
303303
private static function removeSSHKeyOptionalCommentSuffix(string $key): string
304304
{
305305
$matches = [];
306-
if (preg_match("/^\s*(\S+\s+\S+)\s+(\S+)\s*$/", $key, $matches)) {
306+
if (preg_match("/^\s*(\S+\s+\S+)\s+(.*)\s*$/", $key, $matches)) {
307307
return $matches[1];
308308
} else {
309309
return $key;

0 commit comments

Comments
 (0)