title: how do i get the process arguments using regex?
body: <p>I have a process args like that:</p>
  <blockquote>
  <p>-a testa testaa testaaa -b testb testbb -c test-c -d</p>
  </blockquote>
  <p>I want get the result like:</p>
  <blockquote>
  <p>-a testa testaa testaaa</p>
  </blockquote>
  <blockquote>
  <p>-b testb testbb</p>
  </blockquote>
  <blockquote>
  <p>-c test-c</p>
  </blockquote>
  <blockquote>
  <p>-d</p>
  </blockquote>