mirror of
https://github.com/YGGverse/Pulsar.git
synced 2025-03-13 05:41:21 +00:00
fix regex condition
This commit is contained in:
parent
162d70cedd
commit
ea96751635
@ -24,7 +24,7 @@ class Filter
|
||||
return trim(
|
||||
preg_replace(
|
||||
[
|
||||
'/[\n\r]*/',
|
||||
'/[\n\r]+/',
|
||||
'/[\s]{2,}/',
|
||||
],
|
||||
' ',
|
||||
|
Loading…
x
Reference in New Issue
Block a user