New submission from Mark Summerfield <[EMAIL PROTECTED]>:

At the moment fnmatch.py (and therefore glob.py) support:
* . [chars] [!chars]

The attached version of fnmatch.py extends this to:
* . [chars] [!chars] {one,two,...}

There are 2 changes from the original fnmatch.py file:
(1) The documentation for the fnmatch() function has been updated to
reflect the new functionality
(2) The translate() function has been completely replaced.
I ran test_fnmatch.py and test_glob.py and both ran without errors.

----------
components: Library (Lib)
files: fnmatch.py
messages: 65584
nosy: mark
severity: normal
status: open
title: poss. patch for fnmatch.py to add {.htm,html} style globbing
type: feature request
versions: Python 3.0
Added file: http://bugs.python.org/file10047/fnmatch.py

__________________________________
Tracker <[EMAIL PROTECTED]>
<http://bugs.python.org/issue2649>
__________________________________
_______________________________________________
Python-bugs-list mailing list 
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to