[lxc-devel] [lxc/master] [TRIVIAL] fix regex-typo in documentation example

roques on Github lxc-bot at linuxcontainers.org
Tue Sep 12 10:40:15 UTC 2017


A non-text attachment was scrubbed...
Name: not available
Type: text/x-mailbox
Size: 466 bytes
Desc: not available
URL: <http://lists.linuxcontainers.org/pipermail/lxc-devel/attachments/20170912/8e96568e/attachment.bin>
-------------- next part --------------
From d6737d01cb87bd9c2d2d4d55c5e0ee6706262391 Mon Sep 17 00:00:00 2001
From: Christian von Roques <roques at mti.ag>
Date: Tue, 12 Sep 2017 12:31:23 +0200
Subject: [PATCH] fix regex-typo in lxc-monitor.sgml.in

To match names beginning with the letters `f` or `b` one can use `[fb].*` or `(f|b).*`, but not `[f|b].*`, which would match strings beginning with `f`, `|`, or `b`.
---
 doc/lxc-monitor.sgml.in | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/doc/lxc-monitor.sgml.in b/doc/lxc-monitor.sgml.in
index e57314e58..b6b31cfe1 100644
--- a/doc/lxc-monitor.sgml.in
+++ b/doc/lxc-monitor.sgml.in
@@ -121,7 +121,7 @@ Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
       </varlistentry>
 
       <varlistentry>
-	<term>lxc-monitor -n '[f|b].*'</term>
+	<term>lxc-monitor -n '[fb].*'</term>
 	<listitem>
 	<para>
 	  will monitor the different states for container with the


More information about the lxc-devel mailing list