From: Ang Way Chuang Date: Fri, 27 Jan 2012 16:52:27 +0000 (+0400) Subject: vtysh: fix regexp for install_element() in babeld X-Git-Tag: frr-2.0-rc1~1871^2~42 X-Git-Url: https://git.puffer.fish/?a=commitdiff_plain;h=0b42c70840e16b048f62a38652123eb2cb900b65;p=matthieu%2Ffrr.git vtysh: fix regexp for install_element() in babeld --- diff --git a/vtysh/extract.pl.in b/vtysh/extract.pl.in index 6f1ee93377..c487a81a59 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) {