Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 17 Oct 2017 14:49:42 +0000
From:      bugzilla-noreply@freebsd.org
To:        freebsd-ports-bugs@FreeBSD.org
Subject:   [Bug 223066] lang/perl5.24: "Assuming NOT a POSIX class" with perlcritic
Message-ID:  <bug-223066-13@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D223066

            Bug ID: 223066
           Summary: lang/perl5.24: "Assuming NOT a POSIX class" with
                    perlcritic
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: perl@FreeBSD.org
          Reporter: ben.rubson@gmail.com
          Assignee: perl@FreeBSD.org
             Flags: maintainer-feedback?(perl@FreeBSD.org)

Hello,

I upgraded Perl from 5.24.1_1 to 5.24.3.

I now get the messages below when I run perlcritic, even on an empty file.

Any idea why ?

Thank you very much !

Ben



Assuming NOT a POSIX class since it doesn't start with a '[' in regex; mark=
ed
by <-- HERE in m/ \A \\ (?:
                [^\w\s] |               # delimiters/metas
                [tnrfae] |              # C-style escapes
                0 [01234567]{0,2} |     # octal
#               [01234567]{1,3} |       # made from backref by lexer
                c [][[:alpha:]\@\\ <-- HERE ^_?] |      # control characters
                x (?: \{ [[:xdigit:]]* \} | [[:xdigit:]]{0,2} ) | # hex
                o [{] [01234567]+ [}] | # octal as of 5.13.3
##              N (?: \{ (?: [[:alpha:]] [\w\s:()-]* | # must begin w/ alpha
##                  U [+] [[:xdigit:]]+ ) \} ) |        # unicode
                N (?: [{] (?=3D \D ) [^\}]+ [}] ) # unicode
            ) / at /usr/local/lib/perl5/site_perl/PPIx/Regexp/Token/Literal=
.pm
line 232.
Assuming NOT a POSIX class since the '^' must come after the colon in regex;
marked by <-- HERE in m/ \A \\ (?:
                [^\w\s] |               # delimiters/metas
                [tnrfae] |              # C-style escapes
                0 [01234567]{0,2} |     # octal
#               [01234567]{1,3} |       # made from backref by lexer
                c [][[:alpha:]\@\\^ <-- HERE _?] |      # control characters
                x (?: \{ [[:xdigit:]]* \} | [[:xdigit:]]{0,2} ) | # hex
                o [{] [01234567]+ [}] | # octal as of 5.13.3
##              N (?: \{ (?: [[:alpha:]] [\w\s:()-]* | # must begin w/ alpha
##                  U [+] [[:xdigit:]]+ ) \} ) |        # unicode
                N (?: [{] (?=3D \D ) [^\}]+ [}] ) # unicode
            ) / at /usr/local/lib/perl5/site_perl/PPIx/Regexp/Token/Literal=
.pm
line 232.
Assuming NOT a POSIX class since there must be a starting ':' in regex; mar=
ked
by <-- HERE in m/ \A \\ (?:
                [^\w\s] |               # delimiters/metas
                [tnrfae] |              # C-style escapes
                0 [01234567]{0,2} |     # octal
#               [01234567]{1,3} |       # made from backref by lexer
                c [][[:alpha:]\@\\^ <-- HERE _?] |      # control characters
                x (?: \{ [[:xdigit:]]* \} | [[:xdigit:]]{0,2} ) | # hex
                o [{] [01234567]+ [}] | # octal as of 5.13.3
##              N (?: \{ (?: [[:alpha:]] [\w\s:()-]* | # must begin w/ alpha
##                  U [+] [[:xdigit:]]+ ) \} ) |        # unicode
                N (?: [{] (?=3D \D ) [^\}]+ [}] ) # unicode
            ) / at /usr/local/lib/perl5/site_perl/PPIx/Regexp/Token/Literal=
.pm
line 232.

--=20
You are receiving this mail because:
You are the assignee for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-223066-13>