title: RegEx Tokenizer to split a text into words, digits and punctuation marks
body: <p>What I want to do is to split a text into his ultimate elements.</p>
  
  <p>For example:</p>
  
  <pre><code>from nltk.tokenize import *
  txt = "A sample sentences with digits like 2.119,99 or 2,99 are awesome."
  regexp_tokenize(txt, pattern='(?:(?!\d)\w)+|\S+')
  ['A','sample','sentences','with','digits','like','2.199,99','or','2,99','are','awesome','.']
  </code></pre>
  
  <p>You can see it works fine. My Problem is: What happens if the digit is at the end of a text?  </p>
  
  <pre><code>txt = "Today it's 07.May 2011. Or 2.999."
  regexp_tokenize(txt, pattern='(?:(?!\d)\w)+|\S+') 
  ['Today', 'it', "'s", '07.May', '2011.', 'Or', '2.999.'] 
  </code></pre>
  
  <p>The result should be:
  ['Today', 'it', "'s", '07.May', '2011','.', 'Or', '2.999','.']</p>
  
  <p>What I have to do to get the result above?</p>