about summary refs log tree commit diff
path: root/app/lib/frontmatter_handler.rb
diff options
context:
space:
mode:
authorkibigo! <marrus-sh@users.noreply.github.com>2017-06-28 15:16:13 -0700
committerkibigo! <marrus-sh@users.noreply.github.com>2017-06-28 15:16:13 -0700
commit6cbbdc805f68b0318c9b3a7c01f4bdaefee5a2fa (patch)
treee02f36e984be603e8e05404023f1bf7615ce2d64 /app/lib/frontmatter_handler.rb
parent7b1d233f4f31a3793a9a481e717cee8ce95644e3 (diff)
Fixed Regexp.new syntax
Diffstat (limited to 'app/lib/frontmatter_handler.rb')
-rw-r--r--app/lib/frontmatter_handler.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/lib/frontmatter_handler.rb b/app/lib/frontmatter_handler.rb
index 19007cf4e..4ee43f092 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, false, 'um'
+    Regexp.new str, Regexp::MULTILINE, 'u'
   end
   def self.rexstr(exp)
     '(?:' + exp.source + ')'