Two different approaches to parsing lines of categorylinks INSERT statements