875ab13421
[2.5.0] - 2022-05-27 - Janosch Müller Added * Regexp::Expression::Base.construct and .token_class methods o see the wiki for details [2.4.0] - 2022-05-09 - Janosch Müller Fixed * fixed interpretation of + and ? after interval quantifiers ({n,n}) - they used to be treated as reluctant or possessive mode indicators - however, Ruby does not support these modes for interval quantifiers - they are now treated as chained quantifiers instead, as Ruby does it - c.f. #3 * fixed Expression::Base#nesting_level for some tree rewrite cases - e.g. the alternatives in /a|[b]/ had an inconsistent nesting_level * fixed Scanner accepting invalid posix classes, e.g. [[:foo:]] - they raise a SyntaxError when used in a Regexp, so could only be passed as String - they now raise a Regexp::Scanner::ValidationError in the Scanner Added * added Expression::Base#== for (deep) comparison of expressions * added Expression::Base#parts - returns the text elements and subexpressions of an expression - e.g. parse(/(a)/)[0].parts # => ["(", #<Literal @text="a"...>, ")"] * added Expression::Base#te (a.k.a. token end index) - Expression::Subexpression always had #te, only terminal nodes lacked it so far * made some Expression::Base methods available on Quantifier instances, too - #type, #type?, #is?, #one_of?, #options, #terminal? - #base_length, #full_length, #starts_at, #te, #ts, #offset - #conditional_level, #level, #nesting_level , #set_level - this allows a more unified handling with Expression::Base instances * allowed Quantifier#initialize to take a token and options Hash like other nodes * added a deprecation warning for initializing Quantifiers with 4+ arguments: Calling Expression::Base#quantify or Quantifier.new with 4+ arguments is deprecated. It will no longer be supported in regexp_parser v3.0.0. Please pass a Regexp::Token instead, e.g. replace token, text, min, max, mode with ::Regexp::Token.new(:quantifier, token, text). min, max, and mode will be derived automatically. Or do exp.quantifier = Quantifier.construct(token: token, text: str). This is consistent with how Expression::Base instances are created. [2.3.1] - 2022-04-24 - Janosch Müller Fixed * removed five inexistent unicode properties from Syntax#features - these were never supported by Ruby or the Regexp::Scanner - thanks to Markus Schirp for the report [2.3.0] - 2022-04-08 - Janosch Müller Added * improved parsing performance through Syntax refactoring - instead of fresh Syntax instances, pre-loaded constants are now re-used - this approximately doubles the parsing speed for simple regexps * added methods to Syntax classes to show relative feature sets - e.g. Regexp::Syntax::V3_2_0.added_features * support for new unicode properties of Ruby 3.2 / Unicode 14.0
84 lines
4.5 KiB
Text
84 lines
4.5 KiB
Text
@comment $NetBSD: PLIST,v 1.8 2022/08/24 16:31:03 taca Exp $
|
|
${GEM_HOME}/cache/${GEM_NAME}.gem
|
|
${GEM_LIBDIR}/CHANGELOG.md
|
|
${GEM_LIBDIR}/Gemfile
|
|
${GEM_LIBDIR}/LICENSE
|
|
${GEM_LIBDIR}/README.md
|
|
${GEM_LIBDIR}/Rakefile
|
|
${GEM_LIBDIR}/lib/regexp_parser.rb
|
|
${GEM_LIBDIR}/lib/regexp_parser/error.rb
|
|
${GEM_LIBDIR}/lib/regexp_parser/expression.rb
|
|
${GEM_LIBDIR}/lib/regexp_parser/expression/base.rb
|
|
${GEM_LIBDIR}/lib/regexp_parser/expression/classes/alternation.rb
|
|
${GEM_LIBDIR}/lib/regexp_parser/expression/classes/anchor.rb
|
|
${GEM_LIBDIR}/lib/regexp_parser/expression/classes/backreference.rb
|
|
${GEM_LIBDIR}/lib/regexp_parser/expression/classes/character_set.rb
|
|
${GEM_LIBDIR}/lib/regexp_parser/expression/classes/character_set/intersection.rb
|
|
${GEM_LIBDIR}/lib/regexp_parser/expression/classes/character_set/range.rb
|
|
${GEM_LIBDIR}/lib/regexp_parser/expression/classes/character_type.rb
|
|
${GEM_LIBDIR}/lib/regexp_parser/expression/classes/conditional.rb
|
|
${GEM_LIBDIR}/lib/regexp_parser/expression/classes/escape_sequence.rb
|
|
${GEM_LIBDIR}/lib/regexp_parser/expression/classes/free_space.rb
|
|
${GEM_LIBDIR}/lib/regexp_parser/expression/classes/group.rb
|
|
${GEM_LIBDIR}/lib/regexp_parser/expression/classes/keep.rb
|
|
${GEM_LIBDIR}/lib/regexp_parser/expression/classes/literal.rb
|
|
${GEM_LIBDIR}/lib/regexp_parser/expression/classes/posix_class.rb
|
|
${GEM_LIBDIR}/lib/regexp_parser/expression/classes/root.rb
|
|
${GEM_LIBDIR}/lib/regexp_parser/expression/classes/unicode_property.rb
|
|
${GEM_LIBDIR}/lib/regexp_parser/expression/methods/construct.rb
|
|
${GEM_LIBDIR}/lib/regexp_parser/expression/methods/match.rb
|
|
${GEM_LIBDIR}/lib/regexp_parser/expression/methods/match_length.rb
|
|
${GEM_LIBDIR}/lib/regexp_parser/expression/methods/options.rb
|
|
${GEM_LIBDIR}/lib/regexp_parser/expression/methods/strfregexp.rb
|
|
${GEM_LIBDIR}/lib/regexp_parser/expression/methods/tests.rb
|
|
${GEM_LIBDIR}/lib/regexp_parser/expression/methods/traverse.rb
|
|
${GEM_LIBDIR}/lib/regexp_parser/expression/quantifier.rb
|
|
${GEM_LIBDIR}/lib/regexp_parser/expression/sequence.rb
|
|
${GEM_LIBDIR}/lib/regexp_parser/expression/sequence_operation.rb
|
|
${GEM_LIBDIR}/lib/regexp_parser/expression/shared.rb
|
|
${GEM_LIBDIR}/lib/regexp_parser/expression/subexpression.rb
|
|
${GEM_LIBDIR}/lib/regexp_parser/lexer.rb
|
|
${GEM_LIBDIR}/lib/regexp_parser/parser.rb
|
|
${GEM_LIBDIR}/lib/regexp_parser/scanner.rb
|
|
${GEM_LIBDIR}/lib/regexp_parser/scanner/char_type.rl
|
|
${GEM_LIBDIR}/lib/regexp_parser/scanner/properties/long.csv
|
|
${GEM_LIBDIR}/lib/regexp_parser/scanner/properties/short.csv
|
|
${GEM_LIBDIR}/lib/regexp_parser/scanner/property.rl
|
|
${GEM_LIBDIR}/lib/regexp_parser/scanner/scanner.rl
|
|
${GEM_LIBDIR}/lib/regexp_parser/syntax.rb
|
|
${GEM_LIBDIR}/lib/regexp_parser/syntax/any.rb
|
|
${GEM_LIBDIR}/lib/regexp_parser/syntax/base.rb
|
|
${GEM_LIBDIR}/lib/regexp_parser/syntax/token.rb
|
|
${GEM_LIBDIR}/lib/regexp_parser/syntax/token/anchor.rb
|
|
${GEM_LIBDIR}/lib/regexp_parser/syntax/token/assertion.rb
|
|
${GEM_LIBDIR}/lib/regexp_parser/syntax/token/backreference.rb
|
|
${GEM_LIBDIR}/lib/regexp_parser/syntax/token/character_set.rb
|
|
${GEM_LIBDIR}/lib/regexp_parser/syntax/token/character_type.rb
|
|
${GEM_LIBDIR}/lib/regexp_parser/syntax/token/conditional.rb
|
|
${GEM_LIBDIR}/lib/regexp_parser/syntax/token/escape.rb
|
|
${GEM_LIBDIR}/lib/regexp_parser/syntax/token/group.rb
|
|
${GEM_LIBDIR}/lib/regexp_parser/syntax/token/keep.rb
|
|
${GEM_LIBDIR}/lib/regexp_parser/syntax/token/meta.rb
|
|
${GEM_LIBDIR}/lib/regexp_parser/syntax/token/posix_class.rb
|
|
${GEM_LIBDIR}/lib/regexp_parser/syntax/token/quantifier.rb
|
|
${GEM_LIBDIR}/lib/regexp_parser/syntax/token/unicode_property.rb
|
|
${GEM_LIBDIR}/lib/regexp_parser/syntax/version_lookup.rb
|
|
${GEM_LIBDIR}/lib/regexp_parser/syntax/versions.rb
|
|
${GEM_LIBDIR}/lib/regexp_parser/syntax/versions/1.8.6.rb
|
|
${GEM_LIBDIR}/lib/regexp_parser/syntax/versions/1.9.1.rb
|
|
${GEM_LIBDIR}/lib/regexp_parser/syntax/versions/1.9.3.rb
|
|
${GEM_LIBDIR}/lib/regexp_parser/syntax/versions/2.0.0.rb
|
|
${GEM_LIBDIR}/lib/regexp_parser/syntax/versions/2.2.0.rb
|
|
${GEM_LIBDIR}/lib/regexp_parser/syntax/versions/2.3.0.rb
|
|
${GEM_LIBDIR}/lib/regexp_parser/syntax/versions/2.4.0.rb
|
|
${GEM_LIBDIR}/lib/regexp_parser/syntax/versions/2.4.1.rb
|
|
${GEM_LIBDIR}/lib/regexp_parser/syntax/versions/2.5.0.rb
|
|
${GEM_LIBDIR}/lib/regexp_parser/syntax/versions/2.6.0.rb
|
|
${GEM_LIBDIR}/lib/regexp_parser/syntax/versions/2.6.2.rb
|
|
${GEM_LIBDIR}/lib/regexp_parser/syntax/versions/2.6.3.rb
|
|
${GEM_LIBDIR}/lib/regexp_parser/syntax/versions/3.1.0.rb
|
|
${GEM_LIBDIR}/lib/regexp_parser/syntax/versions/3.2.0.rb
|
|
${GEM_LIBDIR}/lib/regexp_parser/token.rb
|
|
${GEM_LIBDIR}/lib/regexp_parser/version.rb
|
|
${GEM_LIBDIR}/regexp_parser.gemspec
|
|
${GEM_HOME}/specifications/${GEM_NAME}.gemspec
|