Fix t,v,w,f pattern parsing