-
JRuby: Fixed a bug that
StringScanner#scan_integer
may read out-of-bounds data.- GH-125
- GH-127
-
JRuby: Fixed a wrong
StringScanner::Version
value bug.
-
Added
StringScanner#scan_byte
- GH-89
-
Added
StringScanner#peek_byte
- GH-89
-
Added support for
String
pattern by the following methods:StringScanner#exist?
StringScanner#scan_until
StringScanner#skip_until
StringScanner#check_until
StringScanner#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-ASCII
for 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 returnnil
not""
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_capture
on 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_captures
GitHub#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#scan
bug 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#charpos
whenString#byteslice
returns 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
String
as 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,
\A
matches 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: true
option toStringScanner.new
such 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