search for: elsetarget

Displaying 1 result from an estimated 1 matches for "elsetarget".

Did you mean: elsetargetmy
2006 Jan 11
3
Regular expressions
...ages (then I did not understand it by reading them several times) or it was answered previously (then I did not find it). Since "ls" with argument pattern essentially uses "grep" (if I am not mistaken), I have an example for "grep" text<-c("somethigMYsomthing elseTARGET another thing","MY somthing TARGET another thing","somethig somthing elseTARGETMY another thing","somethigMTARGETY another thing") grep(pattern="MY&TARGET", x=text) #I would like to get 1 2 3 and not 4 or actually their names using text[grep(patter...