[Bug 223066] lang/perl5.24: "Assuming NOT a POSIX class" with perlcritic

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Tue Oct 17 14:49:43 UTC 2017


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=223066

            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 at FreeBSD.org
          Reporter: ben.rubson at gmail.com
          Assignee: perl at FreeBSD.org
             Flags: maintainer-feedback?(perl at 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; 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 (?: [{] (?= \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 (?: [{] (?= \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; 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 (?: [{] (?= \D ) [^\}]+ [}] ) # unicode
            ) / at /usr/local/lib/perl5/site_perl/PPIx/Regexp/Token/Literal.pm
line 232.

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


More information about the freebsd-perl mailing list