split huge parser regex into multiple regexes