Hey guys, just had that error in the fuzzysearch_cleanse function on line 154. I fixed that with removing \x{d800}-\x{f8ff} in the FUZZY_PREG_CLASS_SEARCH_EXCLUDE constant.

Comments

yannickoo’s picture

Status: Active » Needs review
StatusFileSize
new715 bytes
awolfey’s picture

This constant was copied from core search in D6. There was a bug there and in all Drupal major releases, which you can read about here: #1446372: Invalid Unicode code range in PREG_CLASS_UNICODE_WORD_BOUNDARY fails with PCRE 8.30.

I've update this in Fuzzysearch.

Thanks!

awolfey’s picture

Status: Needs review » Fixed

Committed for 6 and 7.

yannickoo’s picture

Oh you didn't attribute authorship to me :D

awolfey’s picture

I apologize for that. I should have included you.

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.