Skip to content

Commit

Permalink
Merge pull request #404 from topstone/fix_duplicated_range
Browse files Browse the repository at this point in the history
fix "duplicated range"
  • Loading branch information
whiteleaf7 authored Nov 19, 2022
2 parents 4660df5 + 9b775f2 commit d30f29a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion lib/command/tag.rb
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ module Command
class Tag < CommandBase
COLORS = %w(green yellow blue magenta cyan red white)
# 禁止文字
BAN_CHAR = /[:;"'><$@&^\\\|%'\/`]/
BAN_CHAR = /[:;"'><$@&^\\\|%\/`]/
# 禁止ワード
BAN_WORD = %w(hotentry)

Expand Down
2 changes: 1 addition & 1 deletion lib/converterbase.rb
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@

class ConverterBase
KANJI_NUM = "〇一二三四五六七八九"
ENGLISH_SENTENCES_CHARACTERS = /[\w.,!?'" &:;_-]+/
ENGLISH_SENTENCES_CHARACTERS = /[\w.,!?'" &:;-]+/
ENGLISH_SENTENCES_MIN_LENGTH = 8 # この文字数以上アルファベットが続くと半角のまま

attr_reader :use_dakuten_font
Expand Down

0 comments on commit d30f29a

Please sign in to comment.