I want to locate files matching a regular expression and can't get it working.
locate files matching....
by using: locate -r AA*.txt - or - locate --regexp=AA*.txt
I also tried locate --regexp=* AA*.txt
I have tried quoting and bracing but I'm not sure of what is required. man page is sparse.
Is locate able to match on specific expressions as per my example?
please help, I am not familiar with regular expressions other than what is already in place (learning by examples)