This website works better with JavaScript.
Home
Explore
Help
Sign In
larke12
/
slack-pixiv-bot
Watch
1
Star
0
Fork
0
Code
Issues
4
Pull Requests
Projects
Releases
Wiki
Activity
Browse Source
More regex breaking II
master
Ryan Hammett
8 years ago
parent
ba77cb4499
commit
be72d007f8
1 changed files
with
1 additions
and
1 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+1
-1
slack-pixiv/commands/pixiv.rb
+ 1
- 1
slack-pixiv/commands/pixiv.rb
View File
@ -13,7 +13,7 @@ module SlackMathbot
# Create iOS Illustration URL
splitter
=
"
pixiv://illusts/
"
+
pixiv_url
.
split
(
"
illust_id=
"
)
[
-
1
]
puts
splitter
puts
splitter
.
to_s
ios_url
=
splitter
.
slice
(
/
(^[0-9]+$)
/
)
puts
ios_url
Write
Preview
Loading…
Cancel
Save