Browse Source

More regex breaking II

master
Ryan Hammett 8 years ago
parent
commit
be72d007f8
1 changed files with 1 additions and 1 deletions
  1. +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

Loading…
Cancel
Save