<feed xmlns='http://www.w3.org/2005/Atom'>
<title>ruby.git/doc/strscan, 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>[ruby/strscan] [DOC] Avoid being interpreted as a link</title>
<updated>2025-12-02T22:24:29+00:00</updated>
<author>
<name>Yuki Kurihara</name>
<email>co000ri@gmail.com</email>
</author>
<published>2025-12-02T22:24:01+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=a63147eed1184cb812664d5917d6687635a23ab6'/>
<id>a63147eed1184cb812664d5917d6687635a23ab6</id>
<content type='text'>
(https://github.com/ruby/strscan/pull/180)

Since `[](n)` is being interpreted as a Markdown link, it cannot be
displayed as a method call.
I have corrected this by escaping the brackets so that they are
interpreted as strings rather than links.

### Before

ri

```
    #{}[n]     |   &lt;tt&gt;n&lt;/tt&gt;th captured substring.    |       +nil+.
```

html

&lt;img width="424" height="217" alt="image"
src="https://github.com/user-attachments/assets/b45601ab-ed1c-4b82-b112-325f12bde197"
/&gt;

### After

ri

```
    #[](n)     |   &lt;tt&gt;n&lt;/tt&gt;th captured substring.    |       +nil+.
```

html

&lt;img width="489" height="217" alt="image"
src="https://github.com/user-attachments/assets/1212c147-42a5-4f62-8667-a279ccff67a3"
/&gt;

https://github.com/ruby/strscan/commit/b3d56867fd
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
(https://github.com/ruby/strscan/pull/180)

Since `[](n)` is being interpreted as a Markdown link, it cannot be
displayed as a method call.
I have corrected this by escaping the brackets so that they are
interpreted as strings rather than links.

### Before

ri

```
    #{}[n]     |   &lt;tt&gt;n&lt;/tt&gt;th captured substring.    |       +nil+.
```

html

&lt;img width="424" height="217" alt="image"
src="https://github.com/user-attachments/assets/b45601ab-ed1c-4b82-b112-325f12bde197"
/&gt;

### After

ri

```
    #[](n)     |   &lt;tt&gt;n&lt;/tt&gt;th captured substring.    |       +nil+.
```

html

&lt;img width="489" height="217" alt="image"
src="https://github.com/user-attachments/assets/1212c147-42a5-4f62-8667-a279ccff67a3"
/&gt;

https://github.com/ruby/strscan/commit/b3d56867fd
</pre>
</div>
</content>
</entry>
<entry>
<title>[ruby/strscan] [DOC] Fix broken link to helper methods</title>
<updated>2025-12-01T22:02:40+00:00</updated>
<author>
<name>Berkan Ünal</name>
<email>32255826+brkn@users.noreply.github.com</email>
</author>
<published>2025-12-01T22:02:03+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=e68fcf111b48a25ccf465e7acef13e4e145bcfb6'/>
<id>e68fcf111b48a25ccf465e7acef13e4e145bcfb6</id>
<content type='text'>
(https://github.com/ruby/strscan/pull/179)

### Helper methods link is broken at master branch

To reproduce
1. go to [StringScanner
docs](https://docs.ruby-lang.org/en/master/StringScanner.html)
2. Click to link at line
   &gt; See examples at **helper_methods**
3. Resolved url gives 404:
https://docs.ruby-lang.org/en/master/strscan/helper_methods_md.html

### Fix

Currently link resolves as `href="doc/strscan/helper_methods_md.html"`
Correct link should be resolved as `href="helper_methods_md.html"`

https://github.com/ruby/strscan/commit/adb8678aa6
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
(https://github.com/ruby/strscan/pull/179)

### Helper methods link is broken at master branch

To reproduce
1. go to [StringScanner
docs](https://docs.ruby-lang.org/en/master/StringScanner.html)
2. Click to link at line
   &gt; See examples at **helper_methods**
3. Resolved url gives 404:
https://docs.ruby-lang.org/en/master/strscan/helper_methods_md.html

### Fix

Currently link resolves as `href="doc/strscan/helper_methods_md.html"`
Correct link should be resolved as `href="helper_methods_md.html"`

https://github.com/ruby/strscan/commit/adb8678aa6
</pre>
</div>
</content>
</entry>
<entry>
<title>[ruby/strscan] Fix typo (https://github.com/ruby/strscan/pull/164)</title>
<updated>2025-10-14T00:42:32+00:00</updated>
<author>
<name>Étienne Barrié</name>
<email>etienne.barrie@gmail.com</email>
</author>
<published>2025-10-14T00:42:03+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=da3336c52b2884640a40adfc8d3a7f6032c4c259'/>
<id>da3336c52b2884640a40adfc8d3a7f6032c4c259</id>
<content type='text'>
https://github.com/ruby/strscan/commit/29ad49f89d
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
https://github.com/ruby/strscan/commit/29ad49f89d
</pre>
</div>
</content>
</entry>
<entry>
<title>[ruby/strscan] [DOC] Fix link</title>
<updated>2025-09-03T14:38:37+00:00</updated>
<author>
<name>Burdette Lamar</name>
<email>BurdetteLamar@Yahoo.com</email>
</author>
<published>2025-08-26T22:13:04+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=94ddf47624ad6f1288ca721e880be99aee838485'/>
<id>94ddf47624ad6f1288ca721e880be99aee838485</id>
<content type='text'>
(https://github.com/ruby/strscan/pull/162)

https://github.com/ruby/strscan/commit/a9340ab377
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
(https://github.com/ruby/strscan/pull/162)

https://github.com/ruby/strscan/commit/a9340ab377
</pre>
</div>
</content>
</entry>
<entry>
<title>[ruby/strscan] [DOC] Fix typo in documentation</title>
<updated>2024-12-26T01:27:24+00:00</updated>
<author>
<name>Yudai Takada</name>
<email>t.yudai92@gmail.com</email>
</author>
<published>2024-12-22T08:51:09+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=b7690c58b94f77e81bc1b099ca93e47160304a46'/>
<id>b7690c58b94f77e81bc1b099ca93e47160304a46</id>
<content type='text'>
(https://github.com/ruby/strscan/pull/129)

s/begining/beginning/

https://github.com/ruby/strscan/commit/734b823463
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
(https://github.com/ruby/strscan/pull/129)

s/begining/beginning/

https://github.com/ruby/strscan/commit/734b823463
</pre>
</div>
</content>
</entry>
<entry>
<title>[ruby/strscan] [DOC] Add syntax highlighting to MarkDown code blocks</title>
<updated>2024-12-16T01:10:34+00:00</updated>
<author>
<name>Alexander Momchilov</name>
<email>amomchilov@users.noreply.github.com</email>
</author>
<published>2024-12-13T01:28:27+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=41e24c2f3e9a5ff29cccbfe92ecf4d412e5a4e0d'/>
<id>41e24c2f3e9a5ff29cccbfe92ecf4d412e5a4e0d</id>
<content type='text'>
(https://github.com/ruby/strscan/pull/126)

Split off from https://github.com/ruby/ruby/pull/12322

https://github.com/ruby/strscan/commit/9bee37e0f5
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
(https://github.com/ruby/strscan/pull/126)

Split off from https://github.com/ruby/ruby/pull/12322

https://github.com/ruby/strscan/commit/9bee37e0f5
</pre>
</div>
</content>
</entry>
<entry>
<title>[ruby/strscan] [DOC] doc/strscan/strscan.md - update Matcher Methods</title>
<updated>2024-12-10T02:30:19+00:00</updated>
<author>
<name>NAITOH Jun</name>
<email>naitoh@gmail.com</email>
</author>
<published>2024-12-07T23:01:34+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=cb8f18620538e0ac31d0f9e5d7ff4fb5a15ef632'/>
<id>cb8f18620538e0ac31d0f9e5d7ff4fb5a15ef632</id>
<content type='text'>
(https://github.com/ruby/strscan/pull/123)

Added support for string pattern type in
https://github.com/ruby/strscan/pull/106.
And fix Success Return content.

https://github.com/ruby/strscan/commit/6a5acde674
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
(https://github.com/ruby/strscan/pull/123)

Added support for string pattern type in
https://github.com/ruby/strscan/pull/106.
And fix Success Return content.

https://github.com/ruby/strscan/commit/6a5acde674
</pre>
</div>
</content>
</entry>
<entry>
<title>[ruby/strscan] [DOC] doc/strscan/strscan.md - fix triple backtick</title>
<updated>2024-10-29T04:52:22+00:00</updated>
<author>
<name>MSP-Greg</name>
<email>MSP-Greg@users.noreply.github.com</email>
</author>
<published>2024-10-28T20:40:52+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=cd4b45ab1710751ddfe200d92161abf5fec6c62d'/>
<id>cd4b45ab1710751ddfe200d92161abf5fec6c62d</id>
<content type='text'>
(https://github.com/ruby/strscan/pull/112)

See current doc, search for '## Target Substring', notice the backtick
that isn't visible to the GitHub md parser.

https://github.com/ruby/strscan/blob/843e931d134b0a8f0284296250454374e3f8a6aa/doc/strscan/strscan.md

Fixed in the PR, see:

https://github.com/MSP-Greg/strscan/blob/00-strscan.md/doc/strscan/strscan.md

https://github.com/ruby/strscan/commit/041b15df4c
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
(https://github.com/ruby/strscan/pull/112)

See current doc, search for '## Target Substring', notice the backtick
that isn't visible to the GitHub md parser.

https://github.com/ruby/strscan/blob/843e931d134b0a8f0284296250454374e3f8a6aa/doc/strscan/strscan.md

Fixed in the PR, see:

https://github.com/MSP-Greg/strscan/blob/00-strscan.md/doc/strscan/strscan.md

https://github.com/ruby/strscan/commit/041b15df4c
</pre>
</div>
</content>
</entry>
<entry>
<title>Removed trailing spaces.</title>
<updated>2024-06-04T06:00:47+00:00</updated>
<author>
<name>Hiroshi SHIBATA</name>
<email>hsbt@ruby-lang.org</email>
</author>
<published>2024-06-04T06:00:47+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=8080cb709065f5985148e6b00fdb465915f8ac31'/>
<id>8080cb709065f5985148e6b00fdb465915f8ac31</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Sync strscan HEAD again.</title>
<updated>2024-06-04T03:40:08+00:00</updated>
<author>
<name>Hiroshi SHIBATA</name>
<email>hsbt@ruby-lang.org</email>
</author>
<published>2024-06-04T03:40:08+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=3eda59e9752baec109241983bb7f946db31b74d1'/>
<id>3eda59e9752baec109241983bb7f946db31b74d1</id>
<content type='text'>
https://github.com/ruby/strscan/pull/99 split document with multi-byte
chars.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
https://github.com/ruby/strscan/pull/99 split document with multi-byte
chars.
</pre>
</div>
</content>
</entry>
</feed>
