Re: Handling what appears as multiple file extensions

From: Paolo (
Date: Thu 01 Sep 2005 - 23:33:28 GMT

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


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*


-- paolo

hosted by