> From: barry@zope.com [mailto:barry@zope.com] > > >>>>> "GvR" == Guido van Rossum <guido@python.org> writes: > > GvR> That's a matter of validating the template before accepting > GvR> it. > > True, which isn't hard to do. You can write a regexp to extract the > $names and then validate those. In fact, I think this is what newer > versions of xgettext do for Python code (albeit with the %(name)s > syntax). Of course, once you've validated a string, it's almost no extra work to do the interpolation in place (at least in source code size). Tim Delaney
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4