On Thu, Sep 01, 2005 at 10:08:13AM -0700, Anthony McLin wrote:
...
> POND.INF.wpd
> POND.APP.wpd
>
> I imagine chaging the expressions to make sure the extension is the end of the file name, and not before it is possible. But I don't have the least clue how.
you need to set '$' as 'closing' char (the EOL anchor) in regex, eg
(?i)\.(doc|dot|xls|xlw|wpd)$
would catch everything _ending_ in doc|dot|xls|xlw|wpd.
ie (pseudo-diff):
...
- file_list_1 += |mim|uue|uu|b64|bhx|hqx|xxe))\s*
+ file_list_1 += |mim|uue|uu|b64|bhx|hqx|xxe)$)\s*
...
HTH
-- paolo