String matching: Difference between revisions
Content added Content deleted
m (→{{header|Tailspin}}: syntax update) |
|||
Line 3,445:
composer index@{s:}
@index: 0;
[<match>* -> \(@index: $@index + $; $@index!\)] (<'.*'>)
rule match: (def pos: [<~'$s;'>? ...] -> $::length + 1; <'(?=$s;).'>) $pos
end index
|