Browse Source
Merge pull request #400 from vulpineclub/dev-gs-392-frontmatter
Remove ignored 'u' parameter on regexp (#392)
closed-social-glitch-2
David Yip
6 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with
1 additions and
1 deletions
-
app/lib/frontmatter_handler.rb
|
|
@ -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 + ')' |
|
|
|