Skip to content

Commit cf4ff0f

Browse files
committed
Removed check for invalid chars
1 parent 657a6e4 commit cf4ff0f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

func/main.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -676,7 +676,7 @@ is_number_format_valid() {
676676

677677
# Autoreply format validator
678678
is_autoreply_format_valid() {
679-
if [[ "$1" =~ [$|\`] ]] || [ 10240 -le ${#1} ]; then
679+
if [[ 10240 -le ${#1} ]; then
680680
check_result $E_INVALID "invalid autoreply format :: $1"
681681
fi
682682
}

0 commit comments

Comments
 (0)