Recent Releases of https://github.com/ruby/strscan
https://github.com/ruby/strscan - strscan 3.1.7 - 2026-01-06
Fixes
- JRuby: Restore compatibility with JRuby 9.4 and earlier.
- GH-185
- Patch by Karol Bucek
Improvements
- JRuby: Preserve code range in substrings to avoid recalculating.
- GH-186
- Patch by Karol Bucek
Thanks
- Karol Bucek
- C
Published by github-actions[bot] about 2 months ago
https://github.com/ruby/strscan - strscan 3.1.5 - 2025-12-17
Improvements
-
CRuby: Added support for write barrier.
- GH-156
- Patch by Daniel Colson
-
Improved documents.
- GH-162
- Patch by Burdette Lamar
-
Removed obsoleted methods:
StringScanner#clearStringScanner#getbyteStringScanner#peepStringScanner#empty?StringScanner#restsize
-
Deprecated
ScanError. UseStringScanner::Errorinstead. -
Deprecated
StringScanner::Id.
Fixes
-
Fixed broken link in documents.
- GH-179
- Patch by Berkan Ünal
-
Fixed broken markup in documents.
- GH-180
- Patch by Yuki Kurihara
Thanks
-
Daniel Colson
-
Burdette Lamar
-
Berkan Ünal
-
Yuki Kurihara
- C
Published by github-actions[bot] 3 months ago
https://github.com/ruby/strscan - strscan 3.1.4 - 2025-05-03
Fixes
-
JRuby:
StringScanner#scan_integer: Fixed a integer converting
problem.- GH-150
- jruby/jruby#8823
- Reported by Thomas Leitner
-
JRuby:
StringScanner#scan_integer: Added missing length check.- GH-152
- GH-153
Thanks
- Thomas Leitner
- C
Published by github-actions[bot] 10 months ago
https://github.com/ruby/strscan - strscan 3.1.4 - 2025-04-29
Fixes
StringScanner#named_captures: Fixed an incompatible behavior
when there are multiple same name groups.- GH-145
- GH-146
- Reported by Linus Sellberg
Thanks
- Linus Sellberg
- C
Published by github-actions[bot] 10 months ago
https://github.com/ruby/strscan - strscan 3.1.3 - 2025-04-13
Fixes
-
StringScanner#scan_integer: Fixed a bug that matched data isn't
updated.- GH-130
- GH-133
- Reported by Andrii Konchyn
- Patch by Jean Boussier
-
StringScanner#scan_until: Fixed a bug thatStringpattern
usage set incorrect match data.- GH-131
- GH-138
- Reported by Andrii Konchyn
- Patch by NAITOH Jun
-
StringScanner#scan_integer(base: 16): Fixed a bug that0x<EOS>
and0x<NON_HEX_DECIMAL>isn't matched.- GH-140
- GH-141
- Reported by Andrii Konchyn
- Patch by Jean Boussier
-
Fixed a bug that
Stringpattern doesn't clear named captures.- GH-135
- GH-142
- Reported by Andrii Konchyn
- Patch by NAITOH Jun
-
StrinScanner#[]: Fixed a bug thatStringpattern and unknown
capture group name returnsnilinstead of raisingIndexError
likeRegexppattern.- GH-139
- GH-143
- Reported by Benoit Daloze
- Patch by NAITOH Jun
-
StrinScanner#posandStrinScanner#pos=: Fixed a bug that
position is treated asintnotlong.- GH-147
- Patch by Jean Boussier
Thanks
- Andrii Konchyn
- Jean Boussier
- NAITOH Jun
- C
Published by github-actions[bot] 11 months ago
https://github.com/ruby/strscan - strscan 3.1.2 - 2024-12-15
Fixes
-
JRuby: Fixed a bug that
StringScanner#scan_integermay read
out-of-bounds data.- GH-125
- GH-127
-
JRuby: Fixed a wrong
StringScanner::Versionvalue bug.
- C
Published by github-actions[bot] about 1 year ago
https://github.com/ruby/strscan - strscan 3.1.1 - 2024-12-12
Improvements
-
Added
StringScanner#scan_byte- GH-89
-
Added
StringScanner#peek_byte- GH-89
-
Added support for
Stringpattern by the following methods:StringScanner#exist?StringScanner#scan_untilStringScanner#skip_untilStringScanner#check_untilStringScanner#search_full- GH-106
- Patch by NAITOH Jun
-
Improved performance.
- GH-108
- GH-109
- GH-110
- Patch by NAITOH Jun
-
Improved performance.
- GH-117
-
Added
StringScanner#scan_integer- GH-113
- GH-115
- GH-116
Thanks
- NAITOH Jun
- C
Published by github-actions[bot] about 1 year ago
https://github.com/ruby/strscan - https://github.com/ruby/strscan/releases/tag/v3.1.0
strscan 3.1.0 - 2024-02-04
Fixes
- jruby: Fixed a bug that substring can't be used.
- GH-86
- GH-87
- C
Published by github-actions[bot] about 2 years ago
https://github.com/ruby/strscan - https://github.com/ruby/strscan/releases/tag/v3.0.9
strscan 3.0.9 - 2024-01-21
Improvements
-
jruby:
StringScanner#rest: Changed to use the source encoding instead of
US-ASCIIfor empty case.- GH-78
- GH-79
- GH-80
- Reported by NAITOH Jun
-
jruby: Dropped support for old Joni.
- GH-76
- Patch by Olle Jonsson
-
jruby:
StringScanner#scan: Stopped to use shared string for result.- GH-83
- GH-84
- Reported by NAITOH Jun
Thanks
-
NAITOH Jun
-
Olle Jonsson
- C
Published by github-actions[bot] about 2 years ago
https://github.com/ruby/strscan - https://github.com/ruby/strscan/releases/tag/v3.0.8
strscan 3.0.8 - 2024-01-13
Improvements
StringScanner#captures: Changed to returnnilnot""for
unmached capture. BecauseStringScanner#[]andMatchData#[]
does so.- GH-72
- Patched by NAITOH Jun
Thanks
- NAITOH Jun
- C
Published by github-actions[bot] about 2 years ago
https://github.com/ruby/strscan - https://github.com/ruby/strscan/releases/tag/v3.0.7
strscan 3.0.7 - 2023-10-11
Improvements
- jruby: Added support for fixed anchor.
- GH-57
Fixes
- Fixed a crash bug of
StringScanner#named_captureon not matched
status.- GH-61
- Patch by OKURA Masafumi
Thanks
- OKURA Masafumi
- C
Published by github-actions[bot] over 2 years ago
https://github.com/ruby/strscan - v3.0.2.pre1
- C
Published by github-actions[bot] almost 4 years ago