I need to match these strings, and match them into filename, and arguments. Been trying for a while now, somewhat stuck on the last one :-/
The more general the better (I don't know if I have all the cases in here) Dunno if it can be done in one regex, but functionality obviously takes precedence.
If you're wondering, I'm parsing uninstall strings in Windows,
HK\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\*
Code:
"C:\PRO GRAM\SOM DIR\ABC.Exe" /abc
C:\Program\ab fil\blah.abc /abc
C:\blah\hmm.huh /okthen
hello /crap
hi
C:\Program\ab fil\blah.abc C:\blah blah\crap.doh
The more general the better (I don't know if I have all the cases in here) Dunno if it can be done in one regex, but functionality obviously takes precedence.
If you're wondering, I'm parsing uninstall strings in Windows,
HK\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\*