As someone new to bash, but familiar with regular expressions, it wasn't clear to me that something like \w would not work. This added admonition should hopefully save future on-lookers the same trouble I experienced.
I used the wording from the S/O response that helped me realize my error, but if you'd like to change it, that's fine by me.
As someone new to bash, but familiar with regular expressions, it wasn't clear to me that something like
\w
would not work. This added admonition should hopefully save future on-lookers the same trouble I experienced.I used the wording from the S/O response that helped me realize my error, but if you'd like to change it, that's fine by me.