Skip to content

Commit

Permalink
[typo] missing hyphen in regex
Browse files Browse the repository at this point in the history
  • Loading branch information
habere-et-dispertire authored Jul 29, 2023
1 parent a9bbcce commit 978a297
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tracks/bash/exercises/acronym/mentoring.md
Original file line number Diff line number Diff line change
Expand Up @@ -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}
Expand Down

0 comments on commit 978a297

Please sign in to comment.