title: Regex to parse an AVL device message
body: <p>I have the following string that comes from an AVL device</p>
  
  <pre><code>201412211732-34.20333,-56.23234 value1=pair1;value2=pair2;valueN=pairN
  </code></pre>
  
  <p>The format provided by the device manufacturer is</p>
  
  <pre><code>Fixed Part
  ----------
  0-8               Date
  9-12              Time
  up to comma       Latitude
  up to space       Longitude
  
  Options Part
  -------------
  up to eq          Option Name
  up to semicolon   Option Value
  
  * The message can have 0 or more Options.
  ** The last option could end not with a semicolon.
  </code></pre>
  
  <p>I wrote an ugly function to parse this message. I'm not a regex guy, but I'd like use a regular expression. I can appreciate its simplicity.</p>
  
  <p>Can anyone put me in the right direction?</p>
  
  <p>btw: in javascript.</p>
  
  <p>EDIT: </p>
  
  <p>I want get optional part too, but splited as key-pair, is it posible?</p>