tpl: Accept limit as interface in findRE func
authorCameron Moore <moorereason@gmail.com>
Wed, 8 Feb 2017 16:40:11 +0000 (10:40 -0600)
committerBjørn Erik Pedersen <bjorn.erik.pedersen@gmail.com>
Fri, 10 Feb 2017 13:02:28 +0000 (20:02 +0700)
commit5cc8b58907c63e6cfb668c575b40fbc3636a9655
tree4f37154c28bd4217f4d42301d6a12c7e958758cf
parent298ebc37c2d485ab34735f81541a5deaf079b03e
tpl: Accept limit as interface in findRE func

Fixes #3018
tpl/template_funcs.go
tpl/template_funcs_test.go