This episode will explore format strings also known as the sprintf syntax. The code below reproduces the problem while outputting the process memory usage as it rises get process mem gem is required. Rubular is a ruby based regular expression editor.