var textSearchInit = CoreControls.DocumentViewer.prototype.textSearchInit;
CoreControls.DocumentViewer.prototype.textSearchInit = function(pattern, mode, fullSearch, onSearchCallback) {
var anyWordPattern = pattern + '|' + pattern.split(' ').join('|');
var regexMode = mode |= readerControl.docViewer.SearchMode.e_regex;
textSearchInit.apply(this, [anyWordPattern, regexMode, fullSearch, onSearchCallback]);
};