# File lib/parslet/slice.rb, line 45
  def match(regexp)
    str.match(regexp)
  end