switch to RegEx parsing