Message144076
Not to get side-tracked, but on a related note, it would be nice if there was a python module which defined sets of unicode characters corresponding to different categories (similar to the categories listed here: http://www.fileformat.info/info/unicode/category/index.htm)
That way, for example, if the user wants to categorically ignore ALL mathematical symbols or punctuation marks, they could assign:
self.wordterminators = unicode_math + unicode_punctuation.
(The + means set union.)
If somebody tried to specify all of them manually, this would be painful. There are hundreds of punctuation symbols in unicode, for example. (I suppose most of the time, one does not need to be so thorough. This feature not really necessary for getting shlex to work. But I think this would be a easy feature to add.) |
|
Date |
User |
Action |
Args |
2011-09-15 11:38:43 | wombat | set | recipients:
+ wombat, loewis, rhettinger, mark.dickinson, belopolsky, orsenthil, vstinner, dexen, benjamin.peterson, cgwalters, mcepl, ezio.melotti, eric.araujo, doughellmann, r.david.murray, nwerneck, fperez, Santiago.Romero |
2011-09-15 11:38:43 | wombat | set | messageid: <1316086723.12.0.210805847581.issue1170@psf.upfronthosting.co.za> |
2011-09-15 11:38:42 | wombat | link | issue1170 messages |
2011-09-15 11:38:42 | wombat | create | |
|