Regular expression as dictionary key?
Luke
LLoeffler at home.com
Mon Dec 3 13:06:41 EST 2001
More information about the Python-list mailing list
Mon Dec 3 13:06:41 EST 2001
- Previous message (by thread): Regular expression as dictionary key?
- Next message (by thread): Regular expression as dictionary key?
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
> I suspect though that you really just want a way to use a > regular expression as a key, and created this singular/plural > example as justification. Yes and no. This is one of many possible applications. The plural search is a naive example, but for this application doesn't need to be excat either since the results are fuzzy anyway. I suppose plodding through 10,000 or so keys won't slow things down horribly. I'll come up with a tree or build some caching scheme if things get too bad. I've got some C to read now. L
- Previous message (by thread): Regular expression as dictionary key?
- Next message (by thread): Regular expression as dictionary key?
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the Python-list mailing list