diff --git a/app/lib/frontmatter_handler.rb b/app/lib/frontmatter_handler.rb
index a95a1e2940..fa787630d1 100644
--- a/app/lib/frontmatter_handler.rb
+++ b/app/lib/frontmatter_handler.rb
@@ -10,7 +10,7 @@ class FrontmatterHandler
   #  CONVENIENCE FUNCTIONS  #
 
   def self.unirex(str)
-    Regexp.new str, Regexp::MULTILINE, 'u'
+    Regexp.new str, Regexp::MULTILINE
   end
   def self.rexstr(exp)
     '(?:' + exp.source + ')'