title: regular expression for segmentation - splitting words into morphemes or affixes
body: <p>I am trying to get a list after segmenting a word into it's constituents such as suffixes and prefixes (i.e. morphemes or affixes).</p>
  
  <p>I have tried using regular expressions, with the <code>re.findall</code> function.<br>
  (Shown below)</p>
  
  <pre><code>&gt;&gt;&gt; import re
  &gt;&gt;&gt; affixes = ['meth','eth','ketone', 'di', 'chloro', 'yl', 'ol']
  &gt;&gt;&gt; word = 'dimethylamin0ethanol'
  &gt;&gt;&gt; re.findall('|'.join(affixes), word)
  
  ['di', 'meth', 'yl', 'eth', 'ol']
  </code></pre>
  
  <p>However, I need the sections in which it does not match to be included. For instance, the above example would be desired to output:</p>
  
  <p><code>['di', 'meth', 'yl', 'amin0', 'eth', 'an', 'ol']</code></p>
  
  <p>Does anyone know how to extract these segments in the list?</p>