From 0b42c70840e16b048f62a38652123eb2cb900b65 Mon Sep 17 00:00:00 2001 From: Ang Way Chuang Date: Fri, 27 Jan 2012 20:52:27 +0400 Subject: vtysh: fix regexp for install_element() in babeld --- vtysh/extract.pl.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/vtysh/extract.pl.in b/vtysh/extract.pl.in index 6f1ee933..c487a81a 100755 --- a/vtysh/extract.pl.in +++ b/vtysh/extract.pl.in @@ -68,7 +68,7 @@ foreach (@ARGV) { close (FH); @defun = ($line =~ /(?:DEFUN|ALIAS)\s*\((.+?)\);?\s?\s?\n/sg); - @install = ($line =~ /install_element \(\s*[0-9A-Z_]+,\s*&[^;]*;\s*\n/sg); + @install = ($line =~ /install_element\s*\(\s*[0-9A-Z_]+,\s*&[^;]*;\s*\n/sg); # DEFUN process foreach (@defun) { -- cgit v1.2.1