单项选择题
思考一下以下grep语句:grep(“.*\\..+”, c(x))如果这个语句输出1,表示得到匹配,以下哪个x值是有可能的?
A、x <- tolower“test”
B、 x <- chartr“ ”, “.“, “test com”
C、 x <- substr“test.com”, start = 3, stop = 5
D、 x <- str_sub“test.com”, -3, -1
E、 x <- substr“test.com”, start = 6, stop = 8