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

lolsob-rspec
Rey Tucker 2018-03-27 11:30:49 -04:00
parent 9f55021e7e
commit b65fc60334
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, Regexp::MULTILINE, 'u' Regexp.new str, Regexp::MULTILINE
end end
def self.rexstr(exp) def self.rexstr(exp)
'(?:' + exp.source + ')' '(?:' + exp.source + ')'