__table_selector = function (selector, a) {
		if (Array.isArray(selector)) {
			var result = [];

			selector.forEach(function (sel) {
				var inner = __table_selector(sel, a);

				result.push.apply(result, inner);
			});

			return result.filter(function (item) {
				return item;
			});
		}

		// Integer is used to pick out a table by index
		if (typeof selector === 'number') {
			return [a[selector]];
		}

		// Perform a jQuery selector on the table nodes
		var nodes = a.map(function (el) {
			return el.nTable;
		});

		return $(nodes)
			.filter(selector)
			.map(function () {
				// Need to translate back from the table node to the settings
				var idx = nodes.indexOf(this);
				return a[idx];
			})
			.toArray();
	}
Selector for HTML tables. Apply the given selector to the give array of
DataTables settings objects.

@param {string|integer} [selector] jQuery selector string or integer
@param  {array} Array of DataTables settings objects to be filtered
@return {array}
@ignore