refs #3 bad regex fix