This website works better with JavaScript.
Home
Explore
Help
Sign In
closed-social
/
mastodon
Watch
3
Star
0
Fork
2
Code
Issues
5
Pull Requests
0
Projects
0
Releases
3
Wiki
Activity
Browse Source
Remove ignored 'u' parameter on regexp (
#392
)
closed-social-glitch-2
Rey Tucker
6 years ago
parent
6af17b79c5
commit
21b586436e
1 changed files
with
1 additions
and
1 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+1
-1
app/lib/frontmatter_handler.rb
+ 1
- 1
app/lib/frontmatter_handler.rb
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
+
')'
Write
Preview
Loading…
Cancel
Save