Should cache _pe.dic.get('%colon') into a local variable rather than retrieving the same value over and over again in each loop.