barry wrote: > From a /non-programmer's/ point of view, %(var)s is way too error > prone, and $-strings are an attempt at implementing a simple to > explain, hard to get wrong, rule for thru-the-web supplied template > strings. how about making that "s" optional? 1. %% substitutes to just a single % 2. %(identifier) followed by non-identifier characters gets interpolated with the value of the 'identifier' key in the sub- stitution dictionary. 3. For handling cases where the identifier is followed by identifier characters that aren't part of the key, $(identfier)s is equivalent to %(identifier) </F>
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