mirror of
https://github.com/fenom-template/fenom.git
synced 2023-08-10 21:13:07 +03:00
Fix #116 (broken regexp)
This commit is contained in:
parent
0592e248e2
commit
4beacd57b9
@ -109,7 +109,7 @@ class Modifier
|
||||
if ($by_words) {
|
||||
return preg_replace('#\s\S*$#usS', "", $match[1]) .
|
||||
$etc .
|
||||
preg_replace('#\s\S*$#usS', "", $match[2]);
|
||||
preg_replace('#\S*\s#usS', "", $match[2]);
|
||||
} else {
|
||||
return $match[1] . $etc . $match[2];
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user