Effectively I'm trying to search a text file containing "file names" and want to match as if shell file globbing were in effect.
Shell file globbing is much simpler than regular expressions, so I need some kind of
grep "data??.*" < list_of_filenames
And bonus points if I can do it with AWK, eg something along the lines of
awk -F/ '$NF ~ /data??.*/ {print $0}' < list_of_filenames
to print the line when the last part of the line delimited by / matches the patern "data??.*"