docs: function splitter(target, splitExp) {
  		var mw = core.base();
  		mw.enabled = true;
  		mw.splitExp = (splitExp || /\r?\n/g);
  		mw.target = target;
  		mw.writeln = function (str) {
  			if (mw.enabled) {
  				str = String(str);
  				var start = 0;
  				var match;
  
  				mw.splitExp.lastIndex = 0;
  				while ((match = mw.splitExp.exec(str))) {
  					var line = str.substring(start, match.index);
  					start = match.index + match[0].length;
  					mw.splitExp.lastIndex = start;
  					mw.target.writeln(line);
  				}
  				// append piece after final linebreak (or final blank line)
  				if (start < str.length || start === str.length) {
  					mw.target.writeln(str.substr(start));
  				}
  			}
  		};
  		mw.toString = function () {
  			return '<miniwrite-splitter>';
  		};
  		return mw;
  	}