//>>built
define("dojox/string/tokenize",["dojo/_base/lang","dojo/_base/sniff"],function(g,h){var k=g.getObject("dojox.string",!0).tokenize;return k=function(d,e,f,l){var c=[],b,a;for(a=0;b=e.exec(d);){a=d.slice(a,e.lastIndex-b[0].length);a.length&&c.push(a);if(f){if(h("opera")){for(a=b.slice(0);a.length<b.length;)a.push(null);b=a}b=f.apply(l,b.slice(1).concat(c.length));"undefined"!=typeof b&&c.push(b)}a=e.lastIndex}a=d.slice(a);a.length&&c.push(a);return c}});