# File lib/ruby-progressbar/format/string.rb, line 7
  def displayable_length
    gsub(ANSI_SGR_PATTERN, '').length
  end