Mark Hubbart wrote: > whoa! in your example, lines 007 and 008, you are calling the #class and > #hex methods on the string literal '\1', not the result of the > substitution. OK, that makes sense. '\1'.class == '22'.class. Thanks, Mark (& Eric). Steve