[#60404] is RB_GC_GUARD needed in rb_io_syswrite? — Eric Wong <normalperson@...>
I haven't gotten it to crash as-is, but it seems like we need to
4 messages
2014/02/01
[#60682] volatile usages — Eric Wong <normalperson@...>
Hi all, I went ahead and removed some use of volatile which were once
5 messages
2014/02/13
[#60794] [RFC] rearrange+pack vtm and time_object structs — Eric Wong <normalperson@...>
Extracted from addendum on top of Feature #9362 (cache-aligned objects).
4 messages
2014/02/16
[#61139] [ruby-trunk - Feature #9577] [Open] [PATCH] benchmark/driver.rb: align columns in text output — normalperson@...
Issue #9577 has been reported by Eric Wong.
3 messages
2014/02/28
[ruby-core:60687] [ruby-trunk - Bug #9517] [Open] why not match ?
From:
sevkme@...
Date:
2014-02-14 02:24:19 UTC
List:
ruby-core #60687
Issue #9517 has been reported by kk kk.
----------------------------------------
Bug #9517: why not match ?
https://bugs.ruby-lang.org/issues/9517
* Author: kk kk
* Status: Open
* Priority: Normal
* Assignee:
* Category: regexp
* Target version:
* ruby -v: ruby 2.0.0p353 (2013-11-22 revision 43784) [i686-linux]
* Backport: 1.9.3: UNKNOWN, 2.0.0: UNKNOWN, 2.1: UNKNOWN
----------------------------------------
```
class String
def jhex
self.split(/,|\s+/).map{|x| x.hex}.pack('c*')
end
end
s = "01 00 28 09 00 04 02 00 27 AA" .jhex
s1 = "01 00 05 09 00 04 02 00 0A AA" .jhex
s .force_encoding 'ascii-8bit'
s1.force_encoding 'ascii-8bit'
r = Regexp.new '[\001\002\003]\000(.*?)\xAA' , nil , 'n'
s .match(r) #=> #<MatchData "\x01\x00(\t\x00\x04\x02\x00'\xAA" 1:"(\t\x00\x04\x02\x00'">
s1.match(r) #=> nil #why?
```
--
http://bugs.ruby-lang.org/