RosettaCodeData/Task/Regular-expressions/R/regular-expressions-1.r
2023-07-01 13:44:08 -04:00

3 lines
88 B
R

pattern <- "string"
text1 <- "this is a matching string"
text2 <- "this does not match"