Lines Matching refs:word
38 * @param string $word
43 public function hyphenateWord($word, $currptr)
47 if (preg_match('/^(http:|www\.)/', $word)) {
67 $word = mb_convert_encoding($word, 'UTF-8', $this->mpdf->mb_enc);
75 if (preg_match('/^(["\'' . $startpunctuation . '])+(.{' . $this->mpdf->SHYcharmin . ',})$/u', $word, $m)) {
77 $word = $m[2];
80 if (preg_match('/^(.{' . $this->mpdf->SHYcharmin . ',})([\'\.,;:!?"' . $endpunctuation . ']+)$/u', $word, $m)) {
81 $word = $m[1];
85 if (mb_strlen($word, 'UTF-8') < $this->mpdf->SHYcharmin) {
92 if (isset($this->words[mb_strtolower($word)])) {
93 foreach ($this->words[mb_strtolower($word)] as $i) {
104 $text_word = '_' . $word . '_';
144 for ($i = $this->mpdf->SHYleftmin; $i <= (mb_strlen($word, 'UTF-8') - $this->mpdf->SHYrightmin); $i++) {