i have this regex in .sh file to lookup for .log files and gz files:
regex="(\.log|\.gz)"
now i realized that a lot of files are ending with .log.1, .log.2, .log.3
as i'm a noob regarding this, can someone tell me please how to change my regex to find these files too? Thank you ^^