RosettaCodeData/Task/Regular-expressions/R/regular-expressions-1.r

4 lines
88 B
R
Raw Permalink Normal View History

2013-04-10 23:57:08 -07:00
pattern <- "string"
text1 <- "this is a matching string"
text2 <- "this does not match"