maintainer-feedback requested: [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


Ben RUBSON <ben.rubson at gmail.com> has reassigned Bugzilla Automation
<bugzilla at FreeBSD.org>'s request for maintainer-feedback to perl at FreeBSD.org:
Bug 223066: lang/perl5.24: "Assuming NOT a POSIX class" with perlcritic
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=223066



--- Description ---
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.


More information about the freebsd-perl mailing list