From 6cbbdc805f68b0318c9b3a7c01f4bdaefee5a2fa Mon Sep 17 00:00:00 2001 From: kibigo! Date: Wed, 28 Jun 2017 15:16:13 -0700 Subject: [PATCH] Fixed Regexp.new syntax --- app/lib/frontmatter_handler.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/lib/frontmatter_handler.rb b/app/lib/frontmatter_handler.rb index 19007cf4e4..4ee43f0928 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 + ')'