title: Capture log files that ended with any number
body: <p>We want to capture all logs that ended with ".log.[any number]</p>
  
  <p>So I create this syntax</p>
  
  <pre><code>find .  -type f  -regex '\.log\.*[0-9]$' -print
  
  command does not give any output 
  </code></pre>
  
  <p>But this doesn't capture the files as the following ( expected results )</p>
  
  <pre><code>  controller.log.2018-01-03-01  
    server.log.2017-10-31-03
    server.log.2018-01-23-11
    server.log.2018-04-06-17  
    server.log.2018-07-07-05
    controller.log.2018-01-03-02  
    log-cleaner.log.10           
    server.log.2017-10-31-04 
    server.log.2018-01-23-12  
    server.log.2018-04-06-18 
    server.log.2018-07-07-06
    controller.log.2018-01-03-03 
    log-cleaner.log.2   
    server.log.232.434
  </code></pre>
  
  <p>what is wrong with my syntax ?</p>