Fixing a bug that was causing some number Koans to be presolved.

This commit is contained in:
James Edward Gray II
2010-08-21 15:34:54 -05:00
parent 7db19b5e92
commit e1ada6ca9f
3 changed files with 4 additions and 3 deletions

View File

@@ -21,6 +21,7 @@ module Koans
line = line.gsub(/\b____\([^\)]+\)/, "____")
line = line.gsub(/\b___\([^\)]+\)/, "___")
line = line.gsub(/\b__\([^\)]+\)/, "__")
line = line.gsub(/\b_n_\([^\)]+\)/, "_n_")
line = line.gsub(%r(/\#\{__\}/), "/__/")
line
end