From 9f6d7e5453fa2f37426127b0f066ca5549e0e024 Mon Sep 17 00:00:00 2001 From: Fire Demon Date: Mon, 27 Jul 2020 17:45:27 -0500 Subject: [Command Tags] Add colon to make delimiter syntax clearer --- app/lib/command_tag/processor.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'app/lib') diff --git a/app/lib/command_tag/processor.rb b/app/lib/command_tag/processor.rb index edc0302bd..34de03e4e 100644 --- a/app/lib/command_tag/processor.rb +++ b/app/lib/command_tag/processor.rb @@ -109,7 +109,7 @@ class CommandTag::Processor separator = "\n" if parts.count > 2 - if %w(by with using sep separator delim delimiter).include?(parts[-2].downcase) + if %w(: by: with: using: sep: separator: delim: delimiter:).include?(parts[-2].downcase) separator = parts[-1] parts = parts[0..-3] elsif !parts[-1].match?(/\A[-+]?[0-9]+\z/) -- cgit