I am trying to learn regular expressions, and came across some examples online. Trying to put things together, I inputted this into bash
^(([a-j][a-j]?)|(3[a-j][a-j])$
It returns the following error
bash: !!: event not found.
Why do you believe I am getting that? Should I create a to j files? or should I create 1 file with a-j in it? Why is it returning that? Thank you for your help.