title: Issue with matching pattern with wildcard characters
body: <p>I'm writing a lotusscript agent which will run once in every 5 minutes and will send an email alert if the SEMDEBUG.TXT log file on the server exceeds a certain threshold. The code which accesses this file is mentioned below.</p>
  
  <pre><code>strSemDebugFilePath$ = "D:\IBM\Domino\Data\IBM_TECHNICAL_SUPPORT\SEMDEBUG_&lt;server_name&gt;_" &amp; CStr(Year(Now())) &amp; "_" &amp; strMonth &amp;"_" &amp; strDay &amp; "@" &amp; strHour &amp; "_" &amp; strMin &amp; "_*.TXT"
  
  strSemDebugFileName$ = Dir$(strSemDebugFilePath$,0)
  </code></pre>
  
  <p>As this agent runs once in every 5 minutes, I have set the value of variable strMin such that it decrements 5 minutes from the current time so that when the agent runs, it will check if the log file size has exceeded the threshold in the past 5 minutes. The line of code for this is mentioned below.</p>
  
  <pre><code>strMin = CStr(Minute(Now()))
      If Int(strMin) &gt; 5 Then
          strMin = CStr(Int(strMin)-5)
      End If
      If Len(strMin)=1 Then
          strMin="0"&amp;strMin
      End If
  </code></pre>
  
  <p>Now the problem is that I'm using the pattern matching [0-strMin] in place of the variable strMin in the line of code which will access the SEMDEBUG.TXT file and this is not working for some reason. So the final line of code is mentioned below.</p>
  
  <pre><code>strSemDebugFilePath$ = "D:\IBM\Domino\Data\IBM_TECHNICAL_SUPPORT\SEMDEBUG_&lt;server_name&gt;_" &amp; CStr(Year(Now())) &amp; "_" &amp; strMonth &amp;"_" &amp; strDay &amp; "@" &amp; strHour &amp; "_" &amp; "[00-strMin]" &amp; "_*.TXT"
  </code></pre>
  
  <p>The pattern matching [00-strMin] in the above line is not working. It is not returning the proper result. Any suggestions would be really appreciated.</p>
  
  <p>P.S.: I have also tried the below pattern matchings just to verify whether matching in character list works or not. But none of them are working apart from the wildcard character *.
  [0-9], [0-90-9], [#]
  None of the above are working.
  Only * is working, which I have also used in the code before matching for the ".TXT" part, and it is working absolutely fine.</p>