RosettaCodeData/Task/String-matching/Factor/string-matching-5.factor

3 lines
88 B
Factor
Raw Permalink Normal View History

2023-07-01 11:58:00 -04:00
USE: regexp
"Mississippi" "iss" <regexp> all-matching-slices [ from>> ] map ! { 1 4 }