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

next in thread | previous in thread | raw e-mail | index | archive | help
Ben RUBSON <ben.rubson@gmail.com> has reassigned Bugzilla Automation
<bugzilla@FreeBSD.org>'s request for maintainer-feedback to perl@FreeBSD.or=
g:
Bug 223066: lang/perl5.24: "Assuming NOT a POSIX class" with perlcritic
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D223066



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



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