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

Remove ignored 'u' parameter on regexp (#392)
This commit is contained in:
David Yip 2018-03-27 13:06:28 -05:00 committed by GitHub
commit 1ed9500b52
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

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