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
it can not count string like :
"سلام this is سلام"
and only count english word when string have tow language charset.
it is better to change getLengh method like:
public function getLength()
{
if (null === $this->_length) {
$this->_length = preg_match_all('/\pL+/u',$this->getSource());
}
return $this->_length;
}
The text was updated successfully, but these errors were encountered:
it can not count string like :
"سلام this is سلام"
and only count english word when string have tow language charset.
it is better to change getLengh method like:
public function getLength()
{
if (null === $this->_length) {
$this->_length = preg_match_all('/\pL+/u',$this->getSource());
}
return $this->_length;
}
The text was updated successfully, but these errors were encountered: