作者 lyh

gxAiblog自动发布

@@ -71,6 +71,6 @@ class lyhDemo extends Command @@ -71,6 +71,6 @@ class lyhDemo extends Command
71 if (preg_match('/^(.*?\b)\w*$/', $text, $matches)) { 71 if (preg_match('/^(.*?\b)\w*$/', $text, $matches)) {
72 return $matches[1]; 72 return $matches[1];
73 } 73 }
74 - return $text; // fallback 74 + return trim($text); // fallback
75 } 75 }
76 } 76 }