5 class LanguageYue
extends Language
{
6 function stripForSearch( $string ) {
7 wfProfileIn( __METHOD__
);
9 // eventually this should be a word segmentation
10 // for now just treat each character as a word
11 // @fixme only do this for Han characters...
13 "/([\\xc0-\\xff][\\x80-\\xbf]*)/",
16 // Do general case folding and UTF-8 armoring
17 $t = parent
::stripForSearch( $t );
18 wfProfileOut( __METHOD__
);