On Nov 19, 2010, at 4:12 PM, Chris McDonough wrote: > If there are both regexes and converters, I'd suggest they remain > separate, e.g.: > > {month:\d+:month_conv} > > Regexes are about matching, converters are about converting.
Since my month converter knows it wants digits, I feel silly being unable to let it declare that and having to repeat that over and over. While it could be instead maybe: {month::month_conv} to indicate I want the regex month_conv has, it seems that might be easy to goof up and leave off a semi-colon. For some converters that might have a large regular expression that goes with it, I fear having to type it a million times along with the converter name in addition to the marker name. I'd highly prefer to let the converter supply a regex appropriate, since the converter will fail without an appropriate value anyways which it supposedly has a clue what would be a valid conversion... - Ben -- You received this message because you are subscribed to the Google Groups "pylons-devel" group. To post to this group, send email to pylons-de...@googlegroups.com. To unsubscribe from this group, send email to pylons-devel+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/pylons-devel?hl=en.