mirror of
https://git.kescher.at/CatCatNya/catstodon.git
synced 2024-11-27 20:51:36 +01:00
Merge pull request #400 from vulpineclub/dev-gs-392-frontmatter
Remove ignored 'u' parameter on regexp (#392)
This commit is contained in:
commit
1ed9500b52
1 changed files with 1 additions and 1 deletions
|
@ -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