mirror of
https://github.com/YGGverse/Pulsar.git
synced 2026-03-31 17:55:37 +00:00
fix regex condition
This commit is contained in:
parent
162d70cedd
commit
ea96751635
1 changed files with 1 additions and 1 deletions
|
|
@ -24,7 +24,7 @@ class Filter
|
|||
return trim(
|
||||
preg_replace(
|
||||
[
|
||||
'/[\n\r]*/',
|
||||
'/[\n\r]+/',
|
||||
'/[\s]{2,}/',
|
||||
],
|
||||
' ',
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue