On 24-Feb-10, at 6:22 PM, David S. wrote:
If you are running 1.9.2 then use FIXEDENCODING and you should be
I THINK that you are saying with FIXEDENCODING is NOT to revert back
something like ASCII.
This has been really helpful, but I’m still having difficulties. I’m
running 1.9.1p376 and:
=> [:IGNORECASE, :EXTENDED, :MULTILINE]
But if I use 16 rather than FIXEDENCODING it works as in the examples
in this thread.
Does anyone know what’s going on here? I used to have a pretty good
handle on encodings. This Ruby encoding stuff is something I’ve been
struggling with for 6 months and I think all that I’ve managed to do
is completely corrupt my understanding of encoding. It’s starting to
look like magic. I know that a bunch of things changed between
1.9.1p243 and 1.9.1p376, but, since I think that what I ‘know’ about
encoding might be completely delusional at this point, I suppose I
don’t really know.
Brian your http://github.com/candlerb/string19/blob/master/string19.rb
is something else! I’m laughing with a slightly hysterical edge.
On Wed, Feb 24, 2010 at 4:55 PM, Brian C. [email protected]
16 is just Regexp::FIXEDENCODING
from /usr/local/bin/irb192:12:in `’
David N. Springer
Eau Claire, WI
Recursive Design Inc.