We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 7a9c937 commit 84d038cCopy full SHA for 84d038c
1 file changed
func/main.sh
@@ -782,11 +782,6 @@ validate_format_common() {
782
exit $E_INVALID
783
fi
784
if [[ $1 =~ \* ]]; then
785
- if [[ ! $1 =~ \*$ ]]; then
786
- echo "Error: * can be used only at the end"
787
- log_event "$E_INVALID" "$EVENT"
788
- exit $E_INVALID
789
- fi
790
if [ "$(echo $1 | grep -o '*'|wc -l)" -gt 1 ]; then
791
log_event "$E_INVALID" "$EVENT"
792
echo "Error: * can be used only once"
0 commit comments