I'm searching for the right regular expression. The following
t1 = c("IGF2, IGF2AS, INS, TH", "TH", "THZH", "ZGTH")
grep("TH",t1, value=T)
returns all elements of t1
, but only the first and second are correct. I just want entries with word/phrase TH
returned?
Question&Answers:
os 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…