./devel/ruby-regexp_parser, Scanner, lexer, parser for rubys regular expressions

[ CVSweb ] [ Homepage ] [ RSS ] [ Required by ] [ Add to tracker ]


Branch: CURRENT, Version: 2.10.0, Package name: ruby32-regexp_parser-2.10.0, 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: 57.5 KB

Version history: (Expand)


CVS history: (Expand)


   2025-01-02 06:29:26 by Takahiro Kambe | Files touched by this commit (3) | Package updated
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) | Package updated
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) | Package updated
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) | Package updated
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) | Package updated
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}/
   2023-12-17 15:22:12 by Takahiro Kambe | Files touched by this commit (2) | Package updated
Log message:
devel/ruby-regexp_parser: update to 2.8.3

2.8.3 (2023-12-04)

Fixed

* fixed scanner errors for insignificant leading zeros in numerical group
  refs
  - e.g. (a)\k<01>, (a)\g<-01>, (a)?(?(01)b|c)
  - thanks to Markus Schirp for the report
   2023-11-11 13:20:33 by Takahiro Kambe | Files touched by this commit (3) | Package updated
Log message:
devel/ruby-regexp_parser: update to 2.8.2

2.8.2 (2023-10-10)

Fixed

* handle a corner case where parsing redundant number escapes raised an error

   - e.g. parse(/\99/), which in Ruby is a valid Regexp that matches 99
   - thanks to Markus Schirp for the report
   2023-06-11 16:29:44 by Takahiro Kambe | Files touched by this commit (3) | Package updated
Log message:
devel/ruby-regexp_parser: update to 2.8.1

2.8.1] (2023-06-10)

Fixed

* support for extpict unicode property, added in Ruby 2.6
* support for 10 unicode script/block properties added in Ruby 3.2