[R] stringi behaves differently in 2 similar situations

Dimitri Liakhovitski dimitri.liakhovitski at gmail.com
Wed Nov 30 21:51:38 CET 2016


Hello!

library(stringi)

stri_extract_all_words("me.com", simplify = TRUE)         # returns with a dot
stri_extract_all_words("watch32.com", simplify = TRUE)  # removes the dot

Why is the dot removed only in the second case?
How is it possible to ask it NOT to remove the dot in the second case?

Thanks a lot!


-- 
Dimitri Liakhovitski



More information about the R-help mailing list