diff options
author | Viacheslav Hletenko <v.gletenko@vyos.io> | 2023-03-12 09:31:47 +0000 |
---|---|---|
committer | Viacheslav Hletenko <v.gletenko@vyos.io> | 2023-03-12 09:31:47 +0000 |
commit | f2f78ac796322a398c43a5c418d4563c4d34b23d (patch) | |
tree | 8d379f2e4f17345fc9eec7f9817829135c1fd911 /interface-definitions/tftp-server.xml.in | |
parent | a3b16a483140bff9d0085351adabcb2e793cfe2b (diff) | |
download | vyos-1x-f2f78ac796322a398c43a5c418d4563c4d34b23d.tar.gz vyos-1x-f2f78ac796322a398c43a5c418d4563c4d34b23d.zip |
T5058: Add template filter range_to_regex
Add template filter 'range_to_regex'
Convert range of numbers or list of ranges to regex
% range_to_regex('11-12')
'(1[1-2])'
% range_to_regex(['11-12', '14-15'])
'(1[1-2]|1[4-5])'
Diffstat (limited to 'interface-definitions/tftp-server.xml.in')
0 files changed, 0 insertions, 0 deletions