constant PREG_CLASS_CJK in Drupal 4
Same name and namespace in other branches
- 8 core/modules/search/search.module \PREG_CLASS_CJK
- 5 modules/search/search.module \PREG_CLASS_CJK
- 6 modules/search/search.module \PREG_CLASS_CJK
- 7 modules/search/search.module \PREG_CLASS_CJK
- 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.module - Returns snippets from a piece of text, with certain keywords highlighted. Used for formatting search results.
- search_simplify in modules/
search.module - Simplifies a string according to indexing rules.
File
- modules/
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}');