RosettaCodeData/Task/Regular-expressions/8th/regular-expressions.8th

3 lines
68 B
Text
Raw Permalink Normal View History

2016-12-05 23:44:36 +01:00
"haystack" /a./ r:match . cr
"haystack" /a./ "blah" s:replace! . cr