From 978a2973d978656917f833b81bfa105117a2e315 Mon Sep 17 00:00:00 2001 From: habere-et-dispertire Date: Sat, 29 Jul 2023 13:31:41 +0100 Subject: [PATCH] [typo] missing hyphen in regex --- tracks/bash/exercises/acronym/mentoring.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tracks/bash/exercises/acronym/mentoring.md b/tracks/bash/exercises/acronym/mentoring.md index 45484b42b..b49cae7f3 100644 --- a/tracks/bash/exercises/acronym/mentoring.md +++ b/tracks/bash/exercises/acronym/mentoring.md @@ -26,7 +26,7 @@ main "$@" #!/usr/bin/env bash main () { [[ -n $1 ]] || exit 1 - declare -ra WORDS=( ${1//[![:alpha:]]/ } ) + declare -ra WORDS=( ${1//[!\'[:alpha:]]/ } ) for word in "${WORDS[@]}"; do output+=${word:0:1}