about summary refs log tree commit homepage
path: root/lib/dtas
diff options
context:
space:
mode:
authorEric Wong <e@80x24.org>2018-01-29 01:11:04 +0000
committerEric Wong <e@80x24.org>2018-01-29 01:11:04 +0000
commit742d2337e5afdedb5489e4b9f965e5d34c6db49e (patch)
tree44423a6d4e47c0d78719f6dcf9a2e4d5a637b3ed /lib/dtas
parent702e3ad47738363ab847f43155e047c7c6612f80 (diff)
downloaddtas-742d2337e5afdedb5489e4b9f965e5d34c6db49e.tar.gz
Oops, a Perlism crept in :x
Diffstat (limited to 'lib/dtas')
-rw-r--r--lib/dtas/mlib.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/dtas/mlib.rb b/lib/dtas/mlib.rb
index 0945153..24393d5 100644
--- a/lib/dtas/mlib.rb
+++ b/lib/dtas/mlib.rb
@@ -66,7 +66,7 @@ class DTAS::Mlib # :nodoc:
   end
 
   def init_suffixes
-    `sox --help 2>/dev/null` =~ /\nAUDIO FILE FORMATS:\s*([^\n]+)/s
+    `sox --help 2>/dev/null` =~ /\nAUDIO FILE FORMATS:\s*([^\n]+)/
     re = $1.split(/\s+/).map! { |x| Regexp.quote(x) }.join('|')
     @suffixes = Regexp.new("\\.(?:#{re}|yml)\\z", Regexp::IGNORECASE)
   end