You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
$text = "'Quoted text!'.\nAnother line";
// Create a new instance
$Sentence = new \Vanderlee\Sentence\Sentence();
// Split into array of sentences
$sentences = $Sentence->split($text);
var_dump($sentences);
End of the quote and dot incorrectly parsed to a separate sentence. Sentence without exclamation mark is parsed correctly
End of the quote and dot incorrectly parsed to a separate sentence. Sentence without exclamation mark is parsed correctly
array(3) { [0]=> string(13) "'Quoted text!" [1]=> string(3) "'. " [2]=> string(12) "Another line" }
The text was updated successfully, but these errors were encountered: