Completed
Push — master ( 81097e...a46f0d )
by Pavel
01:57
created
src/Transliter.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -83,7 +83,7 @@
 block discarded – undo
83 83
             $str = call_user_func($this->after, $str);
84 84
         }
85 85
         // replace all non alpha-numeric characters
86
-        $str = preg_replace('~[^' . ($this->useDot ? '\.' : '') . '\s\w\d_]~uism', empty($this->replaceSpecial) ? '' : $this->replaceSpecial, $str);
86
+        $str = preg_replace('~[^'.($this->useDot ? '\.' : '').'\s\w\d_]~uism', empty($this->replaceSpecial) ? '' : $this->replaceSpecial, $str);
87 87
         // replace spaces
88 88
         $str = preg_replace('/\s/u', $spacer, $str);
89 89
         if ($toLower) {
Please login to merge, or discard this patch.