# File lib/parslet/source.rb, line 25
    def matches?(pattern)
      @str.index(pattern, @pos) == @pos
    end