# File lib/pry/helpers/text.rb, line 36 def strip_color text text.to_s.gsub(/\e\[.*?(\d)+m/ , '') end