fork download
  1. x <- c("string", "string.", "string. and other")
  2. grepl("^[^.]*\\.?$", x)
Success #stdin #stdout 0.22s 39180KB
stdin
Standard input is empty
stdout
[1]  TRUE  TRUE FALSE