tomoakin (Tomoaki Nishiyama)
- Login: tomoakin
- Email: tomoakin@staff.kanazawa-u.ac.jp
- Registered on: 11/10/2011
- Last sign in: 06/05/2019
Issues
| open | closed | Total | |
|---|---|---|---|
| Assigned issues | 0 | 0 | 0 |
| Reported issues | 0 | 3 | 3 |
Activity
12/29/2012
-
10:14 PM Ruby Bug #7623: Messages while RDoc generation
- Thank you for looking at my report.
My point is on the messages:
lib/mkmf.rb:1117:29: Couldn't find STRING_OR_FAILED_FORMAT. Assuming it's a module
lib/irb/inspector.rb:36:36: Couldn't find INSPECTORS. Assuming it's a module
Encl...
12/25/2012
-
06:47 PM Ruby Bug #7623 (Closed): Messages while RDoc generation
- The message reported in
https://bugs.ruby-lang.org/issues/5366
happened during compilation of the ruby-1.9.3-p327.tar.bz2 distribution on CentOS6.
While the message was observed just by extract, configure and make,
make clean just a...
08/08/2012
-
12:51 AM Ruby Feature #6802: String#scan should have equivalent yielding MatchData
- +1 to have a method to return MatchData.
This is related to (or duplicate of) #5749 and #5606.
Even with the simple implementation I think to establish a standard
name and specification.
12/14/2011
-
06:05 PM Ruby Feature #5749: new method String#match_all needed
- I proposed a similar one as each_match
http://bugs.ruby-lang.org/issues/5606
A difference is to have the next offset by
m.begin(0)+1
rather than m.end(0)
"AKASATANA".each_match(/A.A/)
will recognize AKA ASA ATA ANA
(This, I ...
11/10/2011
-
07:41 PM Ruby Bug #5608 (Closed): make -j 16 sometimes fail
- configureの後make -j 大きい数字でコンパイルすると時々失敗するようです。
make -j 16で3回やって2回失敗でした。
(試行の度にrm -fr ruby-1.9.3-p0して再度展開しています)
2回目に失敗した時のログでは、
/bin/mkdir: `../../.ext/common/dl' exists but is not a directory
make[2]: *** [../../.ext/common/dl] Erro... -
05:19 PM Ruby Feature #5606: String#each_match(regexp)
- 長い配列中のモチーフの存在位置のリストを作りたいので、位置(offset)が必要です。
String#scan ではダメかというと
longstring.scan(regex) do |matchstr|
m=Regexp.last_match
...
puts "#{m.begin(0)}-#{m.end(0)-1} some other info"
end
でとれば確かにとれるらしいけど、いかにもトリッキーな... -
02:36 PM Ruby Feature #5606 (Feedback): String#each_match(regexp)
- 文字列上の正規表現に一致する場所のoffsetを順に処理できるような
イテレータが欲しかったのですが、
ざっと検索すると1996年
http://blade.nagaokaut.ac.jp/cgi-bin/scat.rb/ruby/ruby-list/1206
の昔から話はあり、
http://stackoverflow.com/questions/6804557/how-do-i-get-the-match-data-for-all-occurrences-...