From be72d007f84ff3f2786a542985dc099807855576 Mon Sep 17 00:00:00 2001 From: Ryan Hammett Date: Mon, 1 Feb 2016 16:00:11 -0500 Subject: [PATCH] More regex breaking II --- slack-pixiv/commands/pixiv.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/slack-pixiv/commands/pixiv.rb b/slack-pixiv/commands/pixiv.rb index 3fd198f..08fad2d 100644 --- a/slack-pixiv/commands/pixiv.rb +++ b/slack-pixiv/commands/pixiv.rb @@ -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