The block `{ |word| @filter.call(word) }` is called once for each word that results from `string.scan(regex)`