fixed Deide's regex nemesis, muhahaha.