Fixed Regexp.new syntax

signup-info-prompt
kibigo! 2017-06-28 15:16:13 -07:00
parent 7b1d233f4f
commit 6cbbdc805f
1 changed files with 1 additions and 1 deletions

View File

@ -10,7 +10,7 @@ class FrontmatterHandler
# CONVENIENCE FUNCTIONS # # CONVENIENCE FUNCTIONS #
def self.unirex(str) def self.unirex(str)
Regexp.new str, false, 'um' Regexp.new str, Regexp::MULTILINE, 'u'
end end
def self.rexstr(exp) def self.rexstr(exp)
'(?:' + exp.source + ')' '(?:' + exp.source + ')'