-----BEGIN PGP SIGNED MESSAGE-----
On 2011-05-01, at 3:12 PM, Geometric Patterns wrote:
How can I avoid this? I tried different quoting, escaping, etc.
I am missing something fundamental here
Any advice gratefully received.
What different quoting did you try? There are a couple of ways to start
looking at this - if you need to use double quotes then you can escape
the backslash, and if you don’t need to use double quotes then the
number of things the backslash escapes are reduced. You should also be
aware that irb’s result display is different from what you’d see with
puts. For example:
string = ‘\37’
string = “\37”
Hope this helps,
Mike S. [email protected]
The “`Stok’ disclaimers” apply.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.11 (Darwin)
-----END PGP SIGNATURE-----