General

Profile

dannyfallon (Danny Fallon)

  • Login: dannyfallon
  • Registered on: 02/07/2018
  • Last sign in: 02/07/2018

Issues

open closed Total
Assigned issues 0 0 0
Reported issues 0 1 1

Activity

02/12/2018

03:17 PM Ruby Bug #14458: RubyVM::InstructionSequence compilation loses Regexp encoding
znz (Kazuhiro NISHIYAMA) wrote:
> I think `/p{Alnum}/` is US-ASCII only, so encoding is US-ASCII.
> ...
Well, colour me embarrassed. Thank you for pointing out that subtlety in my example. I'm pretty sure we can close this one as inval...
dannyfallon (Danny Fallon)

02/08/2018

02:40 PM Ruby Bug #14458 (Rejected): RubyVM::InstructionSequence compilation loses Regexp encoding
We appear to be losing encoding information for a Regexp object when we pass it through the compiler:
~~~ ruby
irb(main):001:0> "Test".encoding
=> #<Encoding:UTF-8>
irb(main):002:0> RubyVM::InstructionSequence.compile("'Test'.encod...
dannyfallon (Danny Fallon)

Also available in: Atom