You are here

constant PREG_CLASS_CJK in Drupal 6

Same name and namespace in other branches
  1. 8 core/modules/search/search.module \PREG_CLASS_CJK
  2. 4 modules/search.module \PREG_CLASS_CJK
  3. 5 modules/search/search.module \PREG_CLASS_CJK
  4. 7 modules/search/search.module \PREG_CLASS_CJK
  5. 9 core/modules/search/search.module \PREG_CLASS_CJK

Matches all CJK characters that are candidates for auto-splitting (Chinese, Japanese, Korean). Contains kana and BMP ideographs.

2 uses of PREG_CLASS_CJK
search_excerpt in modules/search/search.module
Returns snippets from a piece of text, with certain keywords highlighted. Used for formatting search results.
search_simplify in modules/search/search.module
Simplifies a string according to indexing rules.

File

modules/search/search.module, line 89
Enables site-wide keyword searching.

Code

define('PREG_CLASS_CJK', '\\x{3041}-\\x{30ff}\\x{31f0}-\\x{31ff}\\x{3400}-\\x{4db5}' . '\\x{4e00}-\\x{9fbb}\\x{f900}-\\x{fad9}');