Changes for version 0.246 - 2025-01-24

  • New Features
    • Add Re class.
  • Requirement Changes
    • Require SPVM 0.990042.
  • Bug Fix
    • Fix a bug that if $offset_ref argument of Regex#match_foward method is undef, segfault occurs.
  • Incompatible Changes
    • Remove Regex#match_start field.
    • Remove Regex#match_length field.
    • Remove Regex#replaced_count field.
    • Remove Regex#captures field.
    • Remove Regex#cap1 to cap20 methods.
    • Rename Regex::Re2 to Regex::RE2.
  • Internal Changes
    • Add undocumented Regex#match_v2 method. This will replace match method in the future.
    • Add undocumented Regex#match_v2_g method. This will replace match_g method in the future.
    • Add undocumented Regex#replace_v2 method. This will replace replace method in the future.
    • Add undocumented Regex#replace_v2_g method. This will replace replace_g method in the future.

Modules

Short Description
Regular Expressions
Regex Matching Result
Regex Replacement Information
Interface for Regex Replacement Callback