fork download
  1. ids <- c("7", "8", "ids")
  2. paste0("(?:", paste(ids, collapse="|"), ")$")
Success #stdin #stdout 0.24s 183680KB
stdin
Standard input is empty
stdout
[1] "(?:7|8|ids)$"