constant PREG_CLASS_CJK
- 7.x drupal-7.x/modules/search/search.module PREG_CLASS_CJK
- 6.x drupal-6.x/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 drupal-6.x/
modules/ search/ search.module - Returns snippets from a piece of text, with certain keywords highlighted. Used for formatting search results.
- search_simplify in drupal-6.x/
modules/ search/ search.module - Simplifies a string according to indexing rules.
File
- drupal-6.x/
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}')