Skip to content

Releases: ruby/strscan

strscan 3.1.2 - 2024-12-15

15 Dec 02:09
Compare
Choose a tag to compare

Fixes

  • JRuby: Fixed a bug that StringScanner#scan_integer may read
    out-of-bounds data.

  • JRuby: Fixed a wrong StringScanner::Version value bug.

strscan 3.1.1 - 2024-12-12

12 Dec 02:39
Compare
Choose a tag to compare

Improvements

  • Added StringScanner#scan_byte

  • Added StringScanner#peek_byte

  • 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.

  • Improved performance.

  • Added StringScanner#scan_integer

Thanks

  • NAITOH Jun

v3.1.0

04 Feb 06:42
Compare
Choose a tag to compare

strscan 3.1.0 - 2024-02-04

Fixes

  • jruby: Fixed a bug that substring can't be used.

v3.0.9

21 Jan 02:42
Compare
Choose a tag to compare

strscan 3.0.9 - 2024-01-21

Improvements

  • jruby: StringScanner#rest: Changed to use the source encoding instead of
    US-ASCII for empty case.

  • jruby: Dropped support for old Joni.

    • GH-76
    • Patch by Olle Jonsson
  • jruby: StringScanner#scan: Stopped to use shared string for result.

Thanks

  • NAITOH Jun

  • Olle Jonsson

v3.0.8

12 Jan 21:27
Compare
Choose a tag to compare

strscan 3.0.8 - 2024-01-13

Improvements

  • StringScanner#captures: Changed to return nil not "" for
    unmached capture. Because StringScanner#[] and MatchData#[]
    does so.
    • GH-72
    • Patched by NAITOH Jun

Thanks

  • NAITOH Jun

v3.0.7

11 Oct 00:35
Compare
Choose a tag to compare

strscan 3.0.7 - 2023-10-11

Improvements

  • jruby: Added support for fixed anchor.

Fixes

  • Fixed a crash bug of StringScanner#named_capture on not matched
    status.
    • GH-61
    • Patch by OKURA Masafumi

Thanks

  • OKURA Masafumi

v3.0.6

08 Feb 00:30
Compare
Choose a tag to compare
Version 3.0.6

v3.0.5

08 Dec 05:21
Compare
Choose a tag to compare
Version 3.0.5

v3.0.4

23 Jul 21:06
Compare
Choose a tag to compare
Version 3.0.4

v3.0.3

10 May 20:47
Compare
Choose a tag to compare
Version 3.0.3