in reply to Re^2: Parsing with RegEx into Array
in thread Parsing with RegEx into Array

Are you really asking how to optionally match a space with a regex?