[Truffle] Allow blocks to be passed to String#scan.