]> git.ipfire.org Git - thirdparty/util-linux.git/commitdiff
libsmartcols: accept also '/' in column name for filters
authorKarel Zak <kzak@redhat.com>
Tue, 31 Oct 2023 11:56:21 +0000 (12:56 +0100)
committerKarel Zak <kzak@redhat.com>
Mon, 20 Nov 2023 21:25:47 +0000 (22:25 +0100)
Signed-off-by: Karel Zak <kzak@redhat.com>
libsmartcols/src/filter-scanner.l

index e3ee26f7a7a6ef88de56068502a162fe87d5a737..1c06e8e7c92538f9e099946915946614c6962bb8 100644 (file)
@@ -4,7 +4,7 @@
 
 %option reentrant bison-bridge noyywrap noinput nounput
 
-id     [a-zA-Z][a-zA-Z_.%:\-0-9]*
+id     [a-zA-Z][a-zA-Z_.%:/\-0-9]*
 int    [0-9]+
 blank  [ \t]
 str_qu \"[^\"\n]*\"