]> git.ipfire.org Git - thirdparty/libcgroup.git/commit
lex: add \ character into regexp for ID token
authorJan Chaloupka <jchaloup@redhat.com>
Mon, 10 Mar 2014 17:50:57 +0000 (18:50 +0100)
committerJan Chaloupka <jchaloup@redhat.com>
Mon, 10 Mar 2014 17:50:57 +0000 (18:50 +0100)
commitc10dc029b3e621a5cc41829f54582cc4eaa1fbae
tree5f5bb554ad920a5f7935957344ebfcc628e9adcc
parent1b6f037118cf29e641bed1215b9a7c8ad6ee693a
lex: add \ character into regexp for ID token

Having virtual machine up, group name contains \ character after
cgsnapshot output. lex.l does not consider this case. For example:
group machine.slice/machine-qemu\x2drhel6.4.scope {...}
Adding \ character into regexp for ID token resolves this problem.

Signed-off-by: Jan Chaloupka <jchaloup@redhat.com>
Acked-by: Dhaval Giani <dhaval.giani@gmail.com>
src/lex.l