Results: 1Comments by: darkbeing
File: oUF Saul01-09-11
bad gsub in truncate()
Posted By: darkbeing
Looks like your gsub is not working correctly. Trying to grok the regex but figured I'd post in the mean time :P http://pastie.org/1441989 This code returns "11k" instead of "110k" edit- OK, I think it's because you're not explicity forcing matching at the beginning of the string. I think you need to do this: return...