SPVM-Regex

 view release on metacpan or  search on metacpan

Changes  view on Meta::CPAN

    * SPVM 0.973+ is required.
0.241001 2023-05-05
  * Nothing to changed. This is the relese because the pause indexer failed.
0.241 2023-05-04
  [Prerequirement Changes]
    * SPVM 0.971012+ is required.

  [New Features]
    * The Regex::Match class is added.
    * The Regex::ReplaceInfo class is added.
    * The version string can be got.
  [Changes]
    * The definition of the following methods in the Regex::Replacer interface are changed.
    
    [Before]
    required method : string ($re : Regex);
    
    [After]
    required method : string ($re : Regex, $match = undef : Regex::Match);
    
  [Incompatible Changes]
    * The definition of the following methods in the Regex class are changed.
      
      [Before]
      method match_forward : int ($string : string, $offset : int*, $length = -1 : int);
      
      [After]
      method match_forward : Regex::Match ($string : string, $offset : int*, $length = -1 : int);
  [Deprecation]
    * The following fields in the Regex class are deprecated. These will be removed. Use a Regex::Match or Regex::ReplaceInfo object instead.
    
      has captures : ro string[];
      has match_start : ro int;
      has match_length : ro int;
      has replaced_count : ro int;
    
0.23 2023-04-05
  [Exception Message Improvement]
    * Exception messages are improved.
  [Document Improvement]
    * Documents are improved.
  [License Change]
    * The license is changed to MIT License.
0.22 2023-03-31
  [Internal Compatible Changes]
    * Use new_pointer_ojbect_by_name instead of the deprecated new_pointer_by_name Native API.
0.21 2023-03-19
  [Internal Compatible Changes]
    * Use pointer instead of pointer_t
    * Use SPVM::ExchangeAPI method instead of SPVM functions.
0.20 2023-03-01
  [Prerequirement Changes]
    * SPVM::Resource::RE2 0.01 is required.
    * SPVM::Unicode is no more required.
    * SPVM::Resource::Re2::V2022_06_01 is no more required.
0.19 2023-02-08
  [Prerequirement Changes]
    * SPVM 0.9691+ is needed.
0.18 2023-01-30
  [New Features]
    * Added the split method in the Regex class.
    
    method split : string[] ($string : string, $limit = 0 : int);
    
0.17 2022-12-26
  [Bug Fix]
    * Fixed unexpetedly replacement bug. This reason maybe memory, but I don't understand the detail of the reason.
    
    {
      my $path = "/..";
      $path = Regex->new("^/\.\.$")->replace($path, "/");
      unless ($path eq "/") {
        return 0;
      }
    }

  [Performance Degration]
    * For the above bug fix, performance degration occurs. This will be fixed in the future.
    
0.16 2022-12-26
  [Prerequirement Bug Fix]
    * Fixed prerequirement in Makefile.PL because 'SPVM::Resource::Re2::V2022_06_01 is needed when "perl Makefile.PL" is executed.
0.15 2022-12-23
  [Prerequirement Changes]
    * SPVM 0.9670+ is needed.
    * SPVM::Resource::Re2::V2022_06_01 0.06+ is needed.
  [Build Process Improvement]
    * Added --meta and --no-build-spvm-modules options to Makefile.PL.
    * Sync Makefile.PL to the one that is generated the latest spvmdist command.
    * Added AUTHOR and meta information to Makefile.PL.
0.14 2022-10-01
  [Prerequirement Changes]
    * SPVM::Regex needs SPVM 0.9661+.
  [Test Improvement]
    * Added the test of \b.
  [Document Improvement]
    * Added the hedding "Contributors" and "Author".
    * Added Ryunosuke Murakami to the contributors.
0.13 2022-09-01
  [Bug Fix]
    * Fix the bug that replace_common don't work well in global replacement.
  
0.12 2022-08-18
  [New Features]
    * The match method of the Regex class can receive the offset and the length.
      [Before]
      method match : int ($string : string)
      
      [After]
      method match : int ($string : string, $offset = 0 : int, $length = -1 : int)
  [Document Fix]
    * Fix many document mistakes.
  [Bug Fix]
    * Fix the bug that the replace offset is over the length of the string. This maybe raises some moery leak.
  [Requirement Changes]
    * Need SPVM 0.9643+.
  [Incompatible Changes]
    * The definitions of the following methods of the Regex class.
      [Before]
      method match_offset : int ($string : string, $offset : int*);
      method replace_g_offset  : string ($string : string, $offset_ref : int*, $replace : string)



( run in 1.416 second using v1.01-cache-2.11-cpan-71847e10f99 )