]> git.ipfire.org Git - thirdparty/dovecot/core.git/commit
liblib: Added negative %variable lengths to count backwards from the end of the value.
authorTimo Sirainen <tss@iki.fi>
Mon, 17 Mar 2014 14:57:21 +0000 (16:57 +0200)
committerTimo Sirainen <tss@iki.fi>
Mon, 17 Mar 2014 14:57:21 +0000 (16:57 +0200)
commit6eb191b58bc8553a516bd1c9b0eccaa696d0f41f
tree3f5d3fafdcd09691d211ab0e54f9c5b5853639cf
parent65af92304818acc858884403336617b96596e6c8
liblib: Added negative %variable lengths to count backwards from the end of the value.
For example %0.-2 for "12345" returns "123".
Patch by Norbert Weinhold / Open-Xchange.
src/lib/var-expand.c