on 08/05/2008 08:55 PM [EMAIL PROTECTED] wrote:
Hi folks,
Can anyone enlighten me as to why I get the following when I search for
".csv" at the end of a string?
grep("\.csv$","Blah.csv",value=TRUE)
[1] "Blah.csv"
Warning messages:
1: '\.' is an unrecognized escape in a character string
2:
Hi folks,
Can anyone enlighten me as to why I get the following when I search for
".csv" at the end of a string?
> grep("\.csv$","Blah.csv",value=TRUE)
[1] "Blah.csv"
Warning messages:
1: '\.' is an unrecognized escape in a character string
2: unrecognized escape removed from "[\.]csv$"
R re
2 matches
Mail list logo