Passed
Push — master ( 6e7810...23e828 )
by jxlwqq
02:00
created
src/ChineseTypesetting.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -118,7 +118,7 @@
 block discarded – undo
118 118
         $text = preg_replace('/(……){2,}/iu', '……', $text);
119 119
 
120 120
         // 中文以及中文标点符号)》后使用全角中文标点符号(包括!?。,():;)
121
-        $text = preg_replace_callback('/(['.$this->cjk.')》”])([!?\.,\(\):;])/iu', function ($matches) {
121
+        $text = preg_replace_callback('/(['.$this->cjk.')》”])([!?\.,\(\):;])/iu', function($matches) {
122 122
             $replace = [
123 123
                 '!' => '!',
124 124
                 '?' => '?',
Please login to merge, or discard this patch.