# File mmap.rb, line 269
def  scan(pattern)  
yield str
end