# File lib/facet/string/to_re.rb, line 10
  def to_re(esc=true)
    Regexp.new((esc ? Regexp.escape(self) : self))
  end