summaryrefslogtreecommitdiffstats
path: root/lib/command_lex.l
diff options
context:
space:
mode:
authorQuentin Young <qlyoung@cumulusnetworks.com>2016-08-01 15:18:25 +0200
committerQuentin Young <qlyoung@cumulusnetworks.com>2016-08-01 15:18:25 +0200
commit6d53a10e4cf873ff61a3dada644d15be83dd54c0 (patch)
treec5c59a7b402956be4e78a5028a93554a3141d8d1 /lib/command_lex.l
parentlib: Retab command_match.c (diff)
downloadfrr-6d53a10e4cf873ff61a3dada644d15be83dd54c0.tar.xz
frr-6d53a10e4cf873ff61a3dada644d15be83dd54c0.zip
lib: Add partial matching support
Signed-off-by: Quentin Young <qlyoung@cumulusnetworks.com>
Diffstat (limited to 'lib/command_lex.l')
-rw-r--r--lib/command_lex.l2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/command_lex.l b/lib/command_lex.l
index 5a0e76d41..ce09c5bf2 100644
--- a/lib/command_lex.l
+++ b/lib/command_lex.l
@@ -9,7 +9,7 @@ IPV4 A\.B\.C\.D
IPV4_PREFIX A\.B\.C\.D\/M
IPV6 X:X::X:X
IPV6_PREFIX X:X::X:X\/M
-VARIABLE [A-Z][A-Z_]+
+VARIABLE [A-Z][A-Z_:]+
NUMBER [0-9]{1,20}
RANGE \({NUMBER}\-{NUMBER}\)