FIX: incorrect regex will result in an error.