Merge pull request #400 from vulpineclub/dev-gs-392-frontmatter
Remove ignored 'u' parameter on regexp (#392)lolsob-rspec
commit
e6e537d002
|
@ -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 + ')'
|
||||||
|
|
Loading…
Reference in New Issue