Remove ignored 'u' parameter on regexp (#392)

master
Rey Tucker 7 years ago
parent 6af17b79c5
commit 21b586436e
  1. 2
      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 + ')'

Loading…
Cancel
Save