diff options
author | Fire Demon <firedemon@creature.cafe> | 2020-07-27 17:45:27 -0500 |
---|---|---|
committer | Fire Demon <firedemon@creature.cafe> | 2020-08-30 05:45:16 -0500 |
commit | 9f6d7e5453fa2f37426127b0f066ca5549e0e024 (patch) | |
tree | 2aa1ed0cf498a495d1f5e56ee5e309536d253b10 | |
parent | 86747d91b98490a036722349c07907d93e16428b (diff) |
[Command Tags] Add colon to make delimiter syntax clearer
-rw-r--r-- | app/lib/command_tag/processor.rb | 2 |
1 files changed, 1 insertions, 1 deletions
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/) |