From 21b586436ea94c1fa6c07e2fc8d493a876f23c2f Mon Sep 17 00:00:00 2001 From: Rey Tucker Date: Tue, 27 Mar 2018 11:30:49 -0400 Subject: [PATCH] Remove ignored 'u' parameter on regexp (#392) --- 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 a95a1e29401..fa787630d1c 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 + ')'