devel/ruby-regexp_parser: update to 2.7.0

2.7.0 (2023-02-08)

Added

* Regexp::Lexer.lex now streams tokens when called with a block
  - it can now take arbitrarily large input, just like Regexp::Scanner
  - this also slightly improves Regexp::Parser.parse performance
  - note: Regexp::Parser.parse still does not and will not support streaming
* improved performance of Subexpression#each_expression
* minor improvements to Regexp::Scanner performance
* overall improvement of parse performance: about 10% for large Regexps

Fixed

* parsing of octal escape sequences in sets, e.g. [\141]
  - thanks to Randy Stauner for the report
This commit is contained in:
taca 2023-02-11 13:45:25 +00:00
parent 09d750d384
commit 40d98357b4
2 changed files with 6 additions and 6 deletions

View file

@ -1,6 +1,6 @@
# $NetBSD: Makefile,v 1.12 2023/01/25 13:41:11 taca Exp $ # $NetBSD: Makefile,v 1.13 2023/02/11 13:45:25 taca Exp $
DISTNAME= regexp_parser-2.6.2 DISTNAME= regexp_parser-2.7.0
CATEGORIES= devel CATEGORIES= devel
MAINTAINER= pkgsrc-users@NetBSD.org MAINTAINER= pkgsrc-users@NetBSD.org

View file

@ -1,5 +1,5 @@
$NetBSD: distinfo,v 1.14 2023/01/25 13:41:11 taca Exp $ $NetBSD: distinfo,v 1.15 2023/02/11 13:45:25 taca Exp $
BLAKE2s (regexp_parser-2.6.2.gem) = e04d5c0a7a04f6b58b6c6701fac510a6f9e9d818129ff50b45a0e545269430a6 BLAKE2s (regexp_parser-2.7.0.gem) = 9a4984f4f7d8f0f49b62fab79fc7c337799cd567bd942452503d67a17bae0d88
SHA512 (regexp_parser-2.6.2.gem) = 95bc0c1e5221676c8b1458ef056c697dd1ef8ceef488e1217972d72bdb08291539877f92b00a78560beb0ce6b7629b07afa6cd04a2ca528631612369cf6b919f SHA512 (regexp_parser-2.7.0.gem) = dfa45c3d0c1f9340961c78d118d9eefcdc77246b4b44ec9bd63dd19853409ea13e7fefb996093bec7d00eceb86a57da4a30a4a8ebe6ed3c6113bf7164833503f
Size (regexp_parser-2.6.2.gem) = 72704 bytes Size (regexp_parser-2.7.0.gem) = 73728 bytes