fork download
  1. grepl("ab{,}c", c("ac", "abc", "abbc", "abbbc", "abbbbc"))
  2. grepl("ab{, }c", c("ac", "abc", "abbc", "abbbc", "abbbbc"))
  3. grepl("ab{ , }c", c("ac", "abc", "abbc", "abbbc", "abbbbc"))
  4. grepl("ab{,2}c", c("ac", "abc", "abbc", "abbbc", "abbbbc"))
  5.  
Success #stdin #stdout 0.16s 175424KB
stdin
Standard input is empty
stdout
[1] FALSE  TRUE FALSE FALSE FALSE
[1] FALSE  TRUE FALSE FALSE FALSE
[1] FALSE  TRUE FALSE FALSE FALSE
[1]  TRUE  TRUE  TRUE  TRUE FALSE