test and fix for crash parsing regexp /0{0/