View Single Post
Old 01-12-2016, 09:54 AM   #5
eschwartz
Ex-Helpdesk Junkie
eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.
 
eschwartz's Avatar
 
Posts: 19,421
Karma: 85400180
Join Date: Nov 2012
Location: The Beaten Path, USA, Roundworld, This Side of Infinity
Device: Kindle Touch fw5.3.7 (Wifi only)
The template language is pretty simple, it contains a bunch of builtin functions() that you can apply directly to a {template}
Now, as Kovid implied, you can trivially create your own arbitrary functions in python as well.

The builtin regular expressions function is pretty simple to use.

Code:
{title_sort:re(',)}

EDIT: ninjaed again...
We have great timing and synchronicity, I see.
eschwartz is offline   Reply With Quote