Merge pull request #400 from vulpineclub/dev-gs-392-frontmatter

Remove ignored 'u' parameter on regexp (#392)
lolsob-rspec
David Yip 2018-03-27 13:06:28 -05:00 committed by GitHub
commit e6e537d002
1 changed files with 1 additions and 1 deletions

View File

@ -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 + ')'