text: YUI.add("unicode-wordbreak",function(D){var H=D.Unicode,L=H.Data.WordBreak,G=0,E=1,M=2,S=3,Q=4,C=5,J=6,N=7,T=8,O=9,R=10,F=11,P=12,I=[new RegExp(L.aletter),new RegExp(L.midnumlet),new RegExp(L.midletter),new RegExp(L.midnum),new RegExp(L.numeric),new RegExp(L.cr),new RegExp(L.lf),new RegExp(L.newline),new RegExp(L.extend),new RegExp(L.format),new RegExp(L.katakana),new RegExp(L.extendnumlet)],B="",A=new RegExp("^"+L.punctuation+"$"),U=/\s/,K={getWords:function(a,e){var Z=0,V=K._classify(a),b=V.length,W=[],c=[],Y,d,X;if(!e){e={};}if(e.ignoreCase){a=a.toLowerCase();}d=e.includePunctuation;X=e.includeWhitespace;for(;Z<b;++Z){Y=a.charAt(Z);W.push(Y);if(K._isWordBoundary(V,Z)){W=W.join(B);if(W&&(X||!U.test(W))&&(d||!A.test(W))){c.push(W);}W=[];}}return c;},getUniqueWords:function(W,V){return D.Array.unique(K.getWords(W,V));},isWordBoundary:function(W,V){return K._isWordBoundary(K._classify(W),V);},_classify:function(a){var X,W=[],Z=0,Y,c,V=a.length,d=I.length,b;for(;Z<V;++Z){X=a.charAt(Z);b=P;for(Y=0;Y<d;++Y){c=I[Y];if(c&&c.test(X)){b=Y;break;}}W.push(b);}return W;},_isWordBoundary:function(Z,W){var V,X=Z[W],a=Z[W+1],Y;if(X===G&&a===G){return false;}Y=Z[W+2];if(X===G&&(a===M||a===E)&&Y===G){return false;}V=Z[W-1];if((X===M||X===E)&&a===G&&V===G){return false;}if((X===Q||X===G)&&(a===Q||a===G)){return false;}if((X===S||X===E)&&a===Q&&V===Q){return false;}if(X===Q&&(a===S||a===E)&&Y===Q){return false;}if(X===T||X===O||V===T||V===O||a===T||a===O){return false;}if(X===C&&a===J){return false;}if(X===N||X===C||X===J){return true;}if(a===N||a===C||a===J){return true;}if(X===R&&a===R){return false;}if(a===F&&(X===G||X===Q||X===R||X===F)){return false;}if(X===F&&(a===G||a===Q||a===R)){return false;}return true;}};H.WordBreak=K;},"@VERSION@",{requires:["array-extras","unicode-data-wordbreak"]});