Path to this page:
./
devel/ruby-regexp_parser,
Scanner, lexer, parser for rubys regular expressions
Branch: CURRENT,
Version: 2.11.3,
Package name: ruby32-regexp_parser-2.11.3,
Maintainer: pkgsrc-users# Regexp::Parser
A Ruby gem for tokenizing, parsing, and transforming regular expressions.
* Multilayered
* A scanner/tokenizer based on [Ragel](http://www.colm.net/open-source/ragel/)
* A lexer that produces a "stream" of token objects.
* A parser that produces a "tree" of Expression objects (OO API)
* Runs on Ruby 1.9, 2.x, and JRuby (1.9 mode) runtimes.
* Recognizes Ruby 1.8, 1.9, and 2.x regular expressions.
Required to run:[
lang/ruby26-base]
Required to build:[
pkgtools/cwrappers]
Master sites:
Filesize: 59 KB
Version history: (Expand)
- (2025-10-24) Package has been reborn
- (2025-10-24) Package deleted from pkgsrc
- (2025-09-15) Updated to version: ruby32-regexp_parser-2.11.3
- (2025-08-14) Updated to version: ruby32-regexp_parser-2.11.2
- (2025-08-12) Updated to version: ruby32-regexp_parser-2.11.1
- (2025-07-15) Package has been reborn
CVS history: (Expand)
2025-09-15 17:23:44 by Takahiro Kambe | Files touched by this commit (2) |  |
Log message:
devel/ruby-regexp_parser: update to 2.11.3
2.11.3 (2025-09-15)
Fixed
* correctly emit backslash-escaped UTF8 characters in character classes as
one token (#104)
- thanks to Earlopain for the report and fix
|
2025-08-14 17:08:00 by Takahiro Kambe | Files touched by this commit (2) |  |
Log message:
devel/ruby-regexp_parser: update to 2.11.2
2.11.2 (2025-08-12)
Added
* enable frozen string literals (#98)
- thanks to Geremia Taglialatela
Fixed
* scan with correct encoding when passing regopt individually (#102)
- thanks to Earlopain for the report
|
2025-08-12 15:53:41 by Takahiro Kambe | Files touched by this commit (3) |  |
Log message:
devel/ruby-regexp_parser: update to 2.11.1
2.11.0 (2025-08-03)
Added
* a new token :escape, :utf8_hex and expression EscapeSequence::UTF8Hex used
for UTF-8 hex escapes, e.g. \xE2\x82\xAC representing U+20AC "€"
Fixed
* detection of numeric backrefs > 9, e.g. ((((((((((foo))))))))))\10 these
are only backrefs in Ruby if sufficient groups have been opened they were
previously always scanned as octal or literal escapes
2.11.1 (2025-08-08)
Fixed
* restored compatibility with Ruby < 2.6, broken in regexp_parser v2.11.0
thanks to DanielFinkWoven for the report
|
2025-01-02 06:29:26 by Takahiro Kambe | Files touched by this commit (3) |  |
Log message:
devel/ruby-regexp_parser: update to 2.10.0
2.10.0 (2024-12-25)
Added
* #referenced_expressions
- like #referenced_expression, but for multiplexing backrefs
- returns the Group expressions that are being referenced
Fixed
* fixed #char & #codepoint errors for single-digit hex escapes
- e.g. \xA
|
2024-12-09 15:12:07 by Takahiro Kambe | Files touched by this commit (2) |  |
Log message:
devel/ruby-regexp_parser: update to 2.9.3
2.9.3 (2024-11-29)
Fixed
* fixed positive lookbehinds with character ">" being treated as named
groups
- e.g. (?<=foo>)
- thanks to Daniel Vandersluis
|
2024-05-26 16:56:16 by Takahiro Kambe | Files touched by this commit (2) |  |
Log message:
devel/ruby-regexp_parser: update to 2.9.2
2.9.2 (2024-05-15)
Fixed
* made the MFA requirement for changes to this gem visible on rubygems
thanks to Geremia Taglialatela
|
2024-05-12 17:06:32 by Takahiro Kambe | Files touched by this commit (2) |  |
Log message:
devel/ruby-regexp_parser: update to 2.9.1
2.9.1 (2024-05-11)
Fixed
* fixed unnecessary $LOAD_PATH searches at load time
thanks to Koichi ITO
|
2024-02-03 16:36:48 by Takahiro Kambe | Files touched by this commit (3) |  |
Log message:
devel/ruby-regexp_parser: update to 2.9.0
2.9.0 (2024-01-07)
Added
* all expressions now respond to #negative? / #negated?
- previously only sets, props, and posix classes did
* implemented #negative? / #negated? for more applicable expressions
- \B, \D, \H, \S, \W, (?!...), (?<!...)
Fixed
* fixed missing support for grapheme cluster break unicode properties
- e.g. /\p{Grapheme_Cluster_Break=Extend}/
|