When practicing regex in Bash I tried to match the entire set/search-pattern inside the brackets.
Instead, I matched just each single character in them.
For example, with
cd touch a.c a.h a.o a.cho ls *.[cho]
a.c a.h a.o
but it didn't match the entire set as in
Why didn't I match the entire set as well and how is it possible to do so?