tompng (tomoya ishida)
- Login: tompng
- Email: tomoyapenguin@gmail.com
- Registered on: 12/26/2015
- Last sign in: 03/21/2026
Issues
| open | closed | Total | |
|---|---|---|---|
| Assigned issues | 0 | 18 | 18 |
| Reported issues | 6 | 83 | 89 |
Projects
| Project | Roles | Registered on |
|---|---|---|
| Ruby | Committer | 12/26/2024 |
Activity
03/16/2026
03/03/2026
-
05:17 PM Ruby Bug #21934 (Closed): Prism and parse.y inconsistency in command call used with pattern match
- These are syntax error in both parse.y and in Prism
~~~ruby
a x in pattern
a x: in pattern
a &x in pattern
a *x => pattern
a x: => pattern
a &x => pattern
~~~
These are all syntax error in parse.y, all syntax valid in Prism
~... -
01:47 PM Ruby Bug #21933: Ruby::Box: named capture local variable can become nil after non-matching lines
- Shorter reproduction code
~~~ruby
/(?<a>foo)/ =~ 'bar'
/(?<b>baz)/ =~ 'baz'
p b # should be present, got nil with RUBY_BOX=1
~~~
~~~ruby
/foo/ =~ 'bar'
$~
/baz/ =~ 'baz'
p $~ # should be MatchData, got nil with RUBY_BOX=1
...
02/22/2026
02/08/2026
-
07:00 PM Ruby Bug #21870: Regexp: Warnings when using slightly overlapping \p{...} classes
- I found 130 (5 sets of 26 alphabets) characters matching both `\p{S}` and `\p{Word}`.
The visual looks like alphabet-ish symbol character
~~~ruby
(0..0x10ffff).select{(s=''<<it; s=~/\p{Word}/&&s=~/\p{S}/) rescue false}.map{''<<it}.joi...
02/05/2026
-
01:59 AM Ruby Revision ad0ac0ec (git): [ruby/rubygems] Remove "##" from a comment to require
- In RDoc, comment that starts with "##" is a metaprogramming method definition.
If it's not a metaprogramming method definition, "##" shouldn't be used.
https://github.com/ruby/rubygems/commit/b1953a3a09
02/03/2026
-
05:59 PM Ruby Bug #21859: Inconsistent behaviors in Regexp lookbehind/lookahead with capture groups
- > Isn't it impossible? To match, regexp needs to satisfy negative lookahead, so there should not be anything to capture.
As you wrote, captures are not available OUTSIDE of negative lookahead and also in MatchData.
But in `/(?!([a-z]... -
10:58 AM Ruby Bug #21859: Inconsistent behaviors in Regexp lookbehind/lookahead with capture groups
- First issue
> This should be false in both cases.
I think `Regexp.linear_time?(/(?<=(a))/)` matches in linear time.
If the issue is just for inconsistency between lookahead and lookbehind, it's not a bug.
Here's an example:
~...