-
TruffleRuby: Added a new implementation for TruffleRuby.
- GH-194
- GH-195
- Patch by Benoit Daloze
-
CRuby: Added support for GC compaction and embedded structs.
- GH-201
- Patch by Jean Boussier
-
Benoit Daloze
-
Jean Boussier
- JRuby: Restore compatibility with JRuby 9.4 and earlier.
- GH-185
- Patch by Karol Bucek
- JRuby: Preserve code range in substrings to avoid recalculating.
- GH-186
- Patch by Karol Bucek
- Karol Bucek
-
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.
-
Fixed broken link in documents.
- GH-179
- Patch by Berkan Ünal
-
Fixed broken markup in documents.
- GH-180
- Patch by Yuki Kurihara
-
Daniel Colson
-
Burdette Lamar
-
Berkan Ünal
-
Yuki Kurihara
-
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
- Thomas Leitner
StringScanner#named_captures: Fixed an incompatible behavior when there are multiple same name groups.- GH-145
- GH-146
- Reported by Linus Sellberg
- Linus Sellberg
-
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 raisingIndexErrorlikeRegexppattern.- 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
- Andrii Konchyn
- Jean Boussier
- NAITOH Jun
-
JRuby: Fixed a bug that
StringScanner#scan_integermay read out-of-bounds data.- GH-125
- GH-127
-
JRuby: Fixed a wrong
StringScanner::Versionvalue bug.
-
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
- NAITOH Jun
- jruby: Fixed a bug that substring can't be used.
- GH-86
- GH-87
-
jruby:
StringScanner#rest: Changed to use the source encoding instead ofUS-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
-
NAITOH Jun
-
Olle Jonsson
StringScanner#captures: Changed to returnnilnot""for unmached capture. BecauseStringScanner#[]andMatchData#[]does so.- GH-72
- Patched by NAITOH Jun
- NAITOH Jun
- jruby: Added support for fixed anchor.
- GH-57
- Fixed a crash bug of
StringScanner#named_captureon not matched status.- GH-61
- Patch by OKURA Masafumi
- OKURA Masafumi
-
doc: Improved
StringScanner#rest?. [GH-49] [Patch by OKURA Masafumi] -
jruby: Added support for joni 2.2. [GH-55]
- OKURA Masafumi
- Added
StringScanner#named_capturesGitHub#44 GitHub#43 [Patch by Eriko Sugiyama] [Reported by Akim Demaille]
-
Eriko Sugiyama
-
Akim Demaille
- Added missing license files to gem. GitHub#41 [Patch by Martin Sander]
- Fixed a
StringScanner#scanbug that may not set match result on JRuby. GitHub#45 [Patch by Kiichi Hiromasa]
-
Martin Sander
-
Kiichi Hiromasa
- Improved JRuby's release process integration. [GitHub#39][Patch by Charles Oliver Nutter]
- Charles Oliver Nutter
-
Improved documentation. [GitHub#32][Patch by David Crosby]
-
Added support for TruffleRuby. [GitHub#35][Patch by Benoit Daloze]
-
David Crosby
-
Benoit Daloze
- Added support for JRuby. [GitHub#25][Patch by Charles Oliver Nutter]
- Charles Oliver Nutter
- Fixed a segmentation of
StringScanner#charposwhenString#byteslicereturns non string value. [Bug #17756][GitHub#20][Patch by Kenichi Kamiya]
- Kenichi Kamiya
- Stopped depending on
regint.h.
- Fixed a bug that a build flag is ignored when this is installed by
gem install. [GitHub#7][Reported by Michael Camilleri]
- Michael Camilleri
-
Added support for
Stringas a pattern. This improves performance. [GitHub#4] -
Improved documentation. [GitHub#8][Patch by Espartaco Palma]
-
Added tests for anchors. [GitHub#9][Patch by Jeanine Adkisson]
-
Added support for fixed anchor mode. In this mode,
\Amatches to the beginning of source string instead of the current position.^matches to the begging of line instead of the current position.You can use fixed anchor mode by passing
fixed_anchor: trueoption toStringScanner.newsuch asStringScanner.new(string, fixed_anchor: true).StringScanner#fixed_anchor?is also added to get whether fixed anchor mode is used or not.[GitHub#6][Patch by Michael Camilleri] [GitHub#10]
-
Espartaco Palma
-
Michael Camilleri
-
Jeanine Adkisson