<feed xmlns='http://www.w3.org/2005/Atom'>
<title>ruby.git/test/ruby/test_regexp.rb, branch v4.0.4</title>
<subtitle>The Ruby Programming Language</subtitle>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/'/>
<entry>
<title>Fix initialization of the table for quick search</title>
<updated>2025-10-31T11:49:59+00:00</updated>
<author>
<name>K.Takata</name>
<email>kentkt@csc.jp</email>
</author>
<published>2019-01-28T09:52:39+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=a89246834d8d2b60ece05b5ee34a012973b53df6'/>
<id>a89246834d8d2b60ece05b5ee34a012973b53df6</id>
<content type='text'>
This fixes k-takata/Onigmo#120.

The commit k-takata/Onigmo@9c13de8d0684ebde97e3709d7693997c81ca374b was insufficient.

https://github.com/k-takata/Onigmo/commit/1de602ddff140d91419e3f86dd35c81d7bd2d8e7
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This fixes k-takata/Onigmo#120.

The commit k-takata/Onigmo@9c13de8d0684ebde97e3709d7693997c81ca374b was insufficient.

https://github.com/k-takata/Onigmo/commit/1de602ddff140d91419e3f86dd35c81d7bd2d8e7
</pre>
</div>
</content>
</entry>
<entry>
<title>[Bug #13671] Fix that "ss" in look-behind causes syntax error</title>
<updated>2025-10-31T11:49:59+00:00</updated>
<author>
<name>K.Takata</name>
<email>kentkt@csc.jp</email>
</author>
<published>2019-01-25T09:54:41+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=bfbbcf34557b0aad4f5ed045df3e4e86b11c9a8c'/>
<id>bfbbcf34557b0aad4f5ed045df3e4e86b11c9a8c</id>
<content type='text'>
Fixes k-takata/Onigmo#92.

This fix was ported from oniguruma:
https://github.com/kkos/oniguruma/commit/257082dac8c6019198b56324012f0bd1830ff4ba

https://github.com/k-takata/Onigmo/commit/b1a5445fbeba97b3e94a733c2ce11c033453af73
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Fixes k-takata/Onigmo#92.

This fix was ported from oniguruma:
https://github.com/kkos/oniguruma/commit/257082dac8c6019198b56324012f0bd1830ff4ba

https://github.com/k-takata/Onigmo/commit/b1a5445fbeba97b3e94a733c2ce11c033453af73
</pre>
</div>
</content>
</entry>
<entry>
<title>Increase timeout for a flaky test</title>
<updated>2025-08-15T17:53:58+00:00</updated>
<author>
<name>Takashi Kokubun</name>
<email>takashikkbn@gmail.com</email>
</author>
<published>2025-08-15T16:54:45+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=9deaf68c1a6bd45b2104b028d868d80c9a69105e'/>
<id>9deaf68c1a6bd45b2104b028d868d80c9a69105e</id>
<content type='text'>
https://github.com/ruby/ruby/actions/runs/16983250181/job/48147338699
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
https://github.com/ruby/ruby/actions/runs/16983250181/job/48147338699
</pre>
</div>
</content>
</entry>
<entry>
<title>Don't change Encoding.default_internal in assert_raise_with_message</title>
<updated>2025-08-15T13:30:09+00:00</updated>
<author>
<name>Peter Zhu</name>
<email>peter@peterzhu.ca</email>
</author>
<published>2025-08-13T19:08:18+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=79f52020e2fcc167415e06f16e5d9868571908b3'/>
<id>79f52020e2fcc167415e06f16e5d9868571908b3</id>
<content type='text'>
For most tests (except two), we don't need to change Encoding.default_internal
in assert_raise_with_message. We're trying to run the test suite across
multiple Ractors and modifying Encoding.default_internal can cause other
concurrently running tests to fail.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
For most tests (except two), we don't need to change Encoding.default_internal
in assert_raise_with_message. We're trying to run the test suite across
multiple Ractors and modifying Encoding.default_internal can cause other
concurrently running tests to fail.
</pre>
</div>
</content>
</entry>
<entry>
<title>[Bug #19417] Make word prop match join_control ...</title>
<updated>2025-07-10T12:28:41+00:00</updated>
<author>
<name>Janosch Müller</name>
<email>janosch84@gmail.com</email>
</author>
<published>2023-04-13T18:43:06+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=bd18238a0e11b9a20ea17174bd9759c5a320fc45'/>
<id>bd18238a0e11b9a20ea17174bd9759c5a320fc45</id>
<content type='text'>
... to conform to UTS 18 as mentioned in https://bugs.ruby-lang.org/issues/19417#note-3

https://unicode.org/reports/tr18/#word states word should match join_control chars.

It currently does not:

```ruby
[*0x0..0xD799, *0xE000..0x10FFFF].map { |n| n.chr 'utf-8' } =&gt; all_chars
all_chars.grep(/\p{join_control}/) =&gt; jc
jc.count # =&gt; 2
jc.grep(/\p{word}/).count # =&gt; 0
```
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
... to conform to UTS 18 as mentioned in https://bugs.ruby-lang.org/issues/19417#note-3

https://unicode.org/reports/tr18/#word states word should match join_control chars.

It currently does not:

```ruby
[*0x0..0xD799, *0xE000..0x10FFFF].map { |n| n.chr 'utf-8' } =&gt; all_chars
all_chars.grep(/\p{join_control}/) =&gt; jc
jc.count # =&gt; 2
jc.grep(/\p{word}/).count # =&gt; 0
```
</pre>
</div>
</content>
</entry>
<entry>
<title>Prevent double free for too big repetition quantifiers (#13332)</title>
<updated>2025-05-16T01:14:26+00:00</updated>
<author>
<name>Hiroya Fujinami</name>
<email>make.just.on@gmail.com</email>
</author>
<published>2025-05-16T01:14:26+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=35000ac2ed3a1829f8d193ffb23da0e44cc6fe5f'/>
<id>35000ac2ed3a1829f8d193ffb23da0e44cc6fe5f</id>
<content type='text'>
Prevent double free for too big repetition quantifiers

The previous implementation calls `free(node)` twice (on parsing and compiling a
regexp) when it has an error, so it leads to a double-free issue. This
commit enforces `free(node)` once by introducing a temporal pointer to hold
parsing nodes.</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Prevent double free for too big repetition quantifiers

The previous implementation calls `free(node)` twice (on parsing and compiling a
regexp) when it has an error, so it leads to a double-free issue. This
commit enforces `free(node)` once by introducing a temporal pointer to hold
parsing nodes.</pre>
</div>
</content>
</entry>
<entry>
<title>[Feature #20724] Bump Unicode version to 16.0.0</title>
<updated>2025-04-18T10:50:23+00:00</updated>
<author>
<name>Mari Imaizumi</name>
<email>mariimaizumi5@gmail.com</email>
</author>
<published>2025-04-18T07:16:59+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=63b07cdcbba1d523219c8a59048615441d0a9c08'/>
<id>63b07cdcbba1d523219c8a59048615441d0a9c08</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>TestRegexp#test_match_cache_positive_look_ahead_complex: Extend the timeout limit</title>
<updated>2025-03-28T05:07:40+00:00</updated>
<author>
<name>Yusuke Endoh</name>
<email>mame@ruby-lang.org</email>
</author>
<published>2025-03-28T05:07:18+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=c3ca9313040c270cbc1c238ed67ec4b0c902c928'/>
<id>c3ca9313040c270cbc1c238ed67ec4b0c902c928</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>[Feature #19908] Update Unicode headers to 15.1.0</title>
<updated>2025-03-18T12:18:12+00:00</updated>
<author>
<name>Mari Imaizumi</name>
<email>mariimaizumi5@gmail.com</email>
</author>
<published>2025-02-24T03:01:14+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=e63c516046b6dbf2f684454b68013b4eea12e94a'/>
<id>e63c516046b6dbf2f684454b68013b4eea12e94a</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Fix case folding in single byte encoding</title>
<updated>2025-03-18T12:04:02+00:00</updated>
<author>
<name>Mari Imaizumi</name>
<email>mariimaizumi5@gmail.com</email>
</author>
<published>2025-03-09T06:22:16+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=75844889eb0169fab62da3063c9bcc950be0ae88'/>
<id>75844889eb0169fab62da3063c9bcc950be0ae88</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
</feed>
