]> git.donarmstrong.com Git - perltidy.git/commitdiff
removed a /o modifier (can lead to subtle bugs)
authorSteve Hancock <perltidy@users.sourceforge.net>
Wed, 29 Apr 2020 14:54:39 +0000 (07:54 -0700)
committerSteve Hancock <perltidy@users.sourceforge.net>
Wed, 29 Apr 2020 14:54:39 +0000 (07:54 -0700)
lib/Perl/Tidy.pm

index 4825d1fa46e3b5d5def02da986379b63fcbc54ea..8aebc8c97e1ece526767588c76201722a322133f 100644 (file)
@@ -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' )
           )
         {