title: How to split but ignore separators in quoted strings, in python?
body: <p>I need to split a string like this, on semicolons. But I don't want to split on semicolons that are inside of a string (' or "). I'm not parsing a file; just a simple string with no line breaks.</p>
  
  <p><code>part 1;"this is ; part 2;";'this is ; part 3';part 4;this "is ; part" 5</code></p>
  
  <p>Result should be:</p>
  
  <ul>
  <li>part 1</li>
  <li>"this is ; part 2;"</li>
  <li>'this is ; part 3'</li>
  <li>part 4</li>
  <li>this "is ; part" 5</li>
  </ul>
  
  <p>I suppose this can be done with a regex but if not; I'm open to another approach.</p>