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