From: Steve Hancock Date: Wed, 29 Apr 2020 14:54:39 +0000 (-0700) Subject: removed a /o modifier (can lead to subtle bugs) X-Git-Tag: 20200619~56 X-Git-Url: https://git.donarmstrong.com/?a=commitdiff_plain;h=762bf7c6a41cbc2a85969980d5a4d6f60361f102;p=perltidy.git removed a /o modifier (can lead to subtle bugs) --- diff --git a/lib/Perl/Tidy.pm b/lib/Perl/Tidy.pm index 4825d1fa..8aebc8c9 100644 --- a/lib/Perl/Tidy.pm +++ b/lib/Perl/Tidy.pm @@ -894,7 +894,7 @@ EOM # rerun perltidy over and over with wildcard input. if ( !$source_stream - && ( $input_file =~ /$forbidden_file_extensions/o + && ( $input_file =~ /$forbidden_file_extensions/ || $input_file eq 'DIAGNOSTICS' ) ) {