./devel/p5-PPIx-Regexp, Represent a regular expression of some sort

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


Branch: CURRENT, Version: 0.060, Package name: p5-PPIx-Regexp-0.060, Maintainer: pkgsrc-users

The purpose of the PPIx-Regexp package is to parse regular expressions
in a manner similar to the way the PPI package parses Perl. This class
forms the root of the parse tree, playing a role similar to PPI::Document.


Required to run:
[lang/perl5] [devel/p5-Task-Weaken] [devel/p5-List-MoreUtils] [devel/p5-PPI]

Required to build:
[devel/p5-Module-Build] [pkgtools/cwrappers]

Master sites: (Expand)

SHA1: 95b5b817d0847336c80a621e8d5afc4bdc61f6af
RMD160: 4f12fe1296b323f6243ef5b38842bf06b06f2a25
Filesize: 213.662 KB

Version history: (Expand)


CVS history: (Expand)


   2018-06-19 08:52:00 by Wen Heping | Files touched by this commit (2) | Package updated
Log message:
Update to 0.060

Upstream changes:
0.060           2018-06-16      T. R. Wyant
    \N{} now parses as the unknown token, not NoOp, regardless of the
    setting of 'use re qw< strict >;'. \N{} became unconditionally fatal
    in 5.28.0 (5.27.1, actually). The policy when the parse changes is
    to use the most-modern parse. Hence this change.

    As a side effect of this, the unknown token's explain() method now
    returns something -- normally the associated error.

    Add method remove_insignificant(). If the invocant isa Node, this
    returns a clone of the invocant with non-significant elements
    removed. Otherwise it returns either the invocant or nothing.
   2018-05-09 08:35:23 by Thomas Klausner | Files touched by this commit (2) | Package updated
Log message:
p5-PPIx-Regexp: update to 0.059.

0.059		2018-05-08	T. R. Wyant
    Install @CARP_NOT everywhere so that warnings and exceptions
    generated in the bowels of the system appear to come from the point
    where the system is entered.

    Further deprecate string (versus regexp) parsing. The first use of
    the 'parse' argument to new() will result in a warning.  If the
    value of the argument is 'guess' or 'string', the warning refers to
    PPIx::QuoteLike.
   2018-05-02 14:00:59 by Thomas Klausner | Files touched by this commit (2) | Package updated
Log message:
p5-PPIx-Regexp: update to 0.058.

0.058		2018-04-26	T. R. Wyant
    Prefer /[0-9]/ over /\d/ for numeric checks. The latter can match
    non-ASCII digits.

    Explain the negated POSIX character classes. Also tweak some of the
    asserted explanations -- mostly for readability and parallel
    construction with the negated explanations, but it turns out
    [[:digit:]] is NOT equivalent to [0-9].

0.057		2018-04-17	T. R. Wyant
    Allow ->asserts( 'a*' ). This modification actually allows wild
    cards in asserts() on all match semantic modifiers, but it is
    probably only useful in the case of 'a*', because that is the only
    one that can be doubled.

    Explain grouping structure as 'Grouping', not 'Capture or grouping'.

    Caret modifier was not turning off /n. This was complicated by the
    fact that (?^) was introduced in 5.13.6, but (?n) was not introduced
    until 5.21.8. The solution was to include -n in the expansion of the
    caret if and only if /n had been seen in the scope of the caret.

    Recognize caret in /(?^)x/.

    Acknowledge Regexp::Parsertron in SEE ALSO
   2018-03-11 11:19:49 by Thomas Klausner | Files touched by this commit (2) | Package updated
Log message:
p5-PPIx-Regexp: update to 0.056.

0.056		2018-03-07	T. R. Wyant
    Support removal of unescaped literal left curlys after left parens,
    which was deprecated in 5.27.8. No actual change in output yet,
    since deprecation is not tracked, but the perl_version_removed()
    logic is there.

    Add next_element() and kin. These are analogous to next_sibling()
    and kin, but will cross over from content proper into structure
    (beginning and end delimiters, etc) and vice versa.

    Correct requirements_for_perl() for impossible regular expression.
    It now returns '! $]' when the components of the regexp are valid, but
    none are valid under any specific version of Perl. It used to think all
    Perls were OK when this happened.

    Add the alpha_assertions introduced in 5.27.9.

    Handle 5.27.9's change from +script_run to *script_run, and support
    *sr as a synonym.
   2018-02-25 18:25:39 by Thomas Klausner | Files touched by this commit (2) | Package updated
Log message:
p5-PPIx-Regexp: update to 0.055.

0.055		2018-02-08	T. R. Wyant
    Tokenizer method prior() is now fatal. This was documented as
    package-private, but as it WAS documented, I am putting it through a
    deprecation cycle anyway. Six months from now it will be removed.

    Add Script_Run classes as subclasses to their superclass docs. This
    was missed in the last update.
   2018-02-04 05:12:04 by Wen Heping | Files touched by this commit (2) | Package updated
Log message:
Update to 0.054

Upstream changes:
0.054		2018-01-29	T. R. Wyant
    Add support for (+script_run:...). This is an experimental feature
    added in Perl 5.27.8. It imposes on any matches it contains the
    additional restriction that everything matched has to belong to the
    same Unicode script. This support will be retracted if the
    functionality does not make it into Perl 5.28.

    Add method scontent().  This returns significant content only. That
    is, if called on the parse of '/ f u b a r /x', it returns
    '/fubar/x'.
   2017-11-08 21:33:41 by Thomas Klausner | Files touched by this commit (2) | Package updated
Log message:
p5-PPIx-Regexp: update to 0.053.

0.053		2017-10-30	T. R. Wyant
    Recognize \px as Unicode char class. At least, when the x is C, L,
    M, N, P, S or Z.

    The 'parse' argument to new() is now deprecated.
   2017-09-17 14:57:27 by Thomas Klausner | Files touched by this commit (2) | Package updated
Log message:
p5-PPIx-Regexp: update to 0.052.

0.052		2017-09-07	T. R. Wyant
    RT 122715: Clarify Node->find_parents() documentation. Thanks to
    Salvatore Bonaccorso for letting me know about this problem..

    Further deprecate tokenizer method prior() in favor of
    prior_significant_token().

    Add requirements_for_perl(). This is analogous to the
    CPAN::Meta::Requirements method requirements_for_module(), though
    the output is formatted differently. Also put in the actual
    requirements for an un-escaped literal left curly after a constant,
    which was removed in 5.25.1 and reinstated in 5.27.1.

    Add accepts_perl(). This is analogous to
    CPAN::Meta::Requirements->accepts_module(). I decided that
    CPAN::Meta;:Requirements was overkill, but this may turn out to be
    the wrong decision, so I will be careful what I expose.

    Document behavior of perl_version_introduced() and
    perl_version_removed() when a feature is re-introduced after
    removal, or re-removed after re-introduction.

    \N{} (empty curlys) removed in 5.27.1.