steal.plugins('jquery/lang').then(function($){
	/**
	 * @add jQuery.String static
	 */
	$.String.
	/**
	 * Splits a string with a regex correctly cross browser
	 * @param {Object} string
	 * @param {Object} regex
	 */
	rsplit = function(string, regex) {
		var result = regex.exec(string),retArr = [], first_idx, last_idx;
		while (result != null)
		{
			first_idx = result.index; last_idx = regex.lastIndex;
			if (first_idx != 0)
			{
				retArr.push(string.substring(0,first_idx));
				string = string.slice(first_idx);
			}		
			retArr.push(result[0]);
			string = string.slice(result[0].length);
			result = regex.exec(string);	
		}
		if (string != '')
		{
			retArr.push(string);
		}
		return retArr;
	}
})

