mirror of
https://github.com/lunaisnotaboy/mastodon.git
synced 2024-11-18 21:03:27 +00:00
Remove ignored 'u' parameter on regexp (#392)
This commit is contained in:
parent
6af17b79c5
commit
21b586436e
|
@ -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 + ')'
|
||||
|
|
Loading…
Reference in a new issue