Author ianbicking
Date 2005-05-09.20:55:25
SpamBayes Score
Marked as misclassified
The regular expressions in string.Template can be
overidden, but there's not an easy way to override the
expression for variables inside braces and to a
different expression than variables not in braces. 
E.g., you might allow full expressions in braces
(including arbitrary punctuation), but only normal
variable names outside.  An example of using this kind
of technique:

So, in summary, idpattern should be split into two,
idpattern and bracepattern.  (Maybe a default of None
for bracepattern, and use idpattern if bracepattern is
None -- this would be backward compatible so that
overriding only idpattern will effect both)
Date User Action Args
2007-08-23 16:10:59adminlinkissue1198569 messages
2007-08-23 16:10:59admincreate