Minor fix for regex issue with python2.6