2.1.1 (2021-02-23) Fixed * fixed NameError when requiring only 'regexp_parser/scanner' in v2.1.0 o thanks to Jared White and Sam Ruby for the report 2.1.0 (2021-02-22) Added * common ancestor for all scanning/parsing/lexing errors o Regexp::Parser::Error can now be rescued as a catch-all o the following errors (and their many descendants) now inherit from it: - Regexp::Expression::Conditional::TooManyBranches - Regexp::Parser::ParserError - Regexp::Scanner::ScannerError - Regexp::Scanner::ValidationError - Regexp::Syntax::SyntaxError o it replaces ArgumentError in some rare cases (Regexp::Parser.parse('?')) o thanks to sandstrom for the cue Fixed * fixed scanning of whole-pattern recursion calls \g<0> and \g'0' o a regression in v2.0.1 had caused them to be scanned as literals * fixed scanning of some backreference and subexpression call edge cases o e.g. \k<+1>, \g<x-1> * fixed tokenization of some escapes in character sets o ., |, {, }, (, ), ^, $, ?, +, * o all of these correctly emitted #type :literal and #token :literal if not escaped o if escaped, they emitted e.g. #type :escape and #token :group_open for [\(] o the escaped versions now correctly emit #type :escape and #token :literal * fixed handling of control/metacontrol escapes in character sets o e.g. [\cX], [\M-\C-X] o they were misread as bunch of individual literals, escapes, and ranges * fixed some cases where calling #dup/#clone on expressions led to shared state
6 lines
416 B
Text
6 lines
416 B
Text
$NetBSD: distinfo,v 1.6 2021/02/28 15:14:18 taca Exp $
|
|
|
|
SHA1 (regexp_parser-2.1.1.gem) = 8d4bc9c7bce8639a78319b0a37d27b9d083bf8f8
|
|
RMD160 (regexp_parser-2.1.1.gem) = 0ad4bafd7f0ba87ddd897493492d2e164c49ec27
|
|
SHA512 (regexp_parser-2.1.1.gem) = 052bb466f54923c8ccdbe98ba52629b2991a14faf273206dfce3cc0ee76132d7eaacc0ab66749392b3850b17b3573e13e0810958ff79af6a7d1bad0689d3d8eb
|
|
Size (regexp_parser-2.1.1.gem) = 101376 bytes
|