[libdist-zilla-plugin-test-podspelling-perl] 35/86: end regular expressions with /xms
Axel Beckert
abe at deuxchevaux.org
Mon May 25 10:02:05 UTC 2015
This is an automated email from the git hooks/post-receive script.
abe pushed a commit to annotated tag 2.001001
in repository libdist-zilla-plugin-test-podspelling-perl.
commit 06985fac75031dfa3096566a36319edb73fec783
Author: Caleb Cushing <xenoterracide at gmail.com>
Date: Tue Aug 2 05:00:39 2011 -0500
end regular expressions with /xms
Signed-off-by: Caleb Cushing <xenoterracide at gmail.com>
---
lib/Dist/Zilla/Plugin/Test/PodSpelling.pm | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/lib/Dist/Zilla/Plugin/Test/PodSpelling.pm b/lib/Dist/Zilla/Plugin/Test/PodSpelling.pm
index 7eb7f15..6a5e7b1 100644
--- a/lib/Dist/Zilla/Plugin/Test/PodSpelling.pm
+++ b/lib/Dist/Zilla/Plugin/Test/PodSpelling.pm
@@ -33,8 +33,8 @@ around add_file => sub {
# automatically add author names to stopwords
for (@{ $self->zilla->authors }) {
local $_ = $_; # we don't want to modify $_ in-place
- s/<.*?>//g;
- push @{ $self->stopwords }, /(\w{2,})/g;
+ s/<.*?>//gxms;
+ push @{ $self->stopwords }, /(\w{2,})/gxms;
}
if (@{ $self->stopwords } > 0) {
$add_stopwords = 'add_stopwords(<DATA>);';
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-perl/packages/libdist-zilla-plugin-test-podspelling-perl.git
More information about the Pkg-perl-cvs-commits
mailing list