Delimiter for multiple words on Autocomplete plugin

Delimiter for multiple words on Autocomplete plugin

Hi, I have a question - how to make autosuggest after simple typing word, without delimiter or after whitespace:

  1.       select: function( event, ui ) {
  2.           var terms = split( this.innerHTML );
  3.           // remove the current input
  4.           terms.pop();
  5.           // add the selected item
  6.           terms.push( '@<a href="' + ui.item.link + ui.item.value + '">' + ui.item.label + '</a>');
  7.           // add placeholder to get the comma-and-space at the end
  8.           terms.push( "" );
  9.           this.innerHTML = terms.join( ", " );
  10. setEndOfContenteditable(this);
  11.           return false;
As you see, here is joining by coma separator