]> git.ipfire.org Git - thirdparty/util-linux.git/commitdiff
libsmartcols: (filter) support period in identifier
authorKarel Zak <kzak@redhat.com>
Thu, 5 Oct 2023 18:21:20 +0000 (20:21 +0200)
committerKarel Zak <kzak@redhat.com>
Mon, 20 Nov 2023 21:25:46 +0000 (22:25 +0100)
Signed-off-by: Karel Zak <kzak@redhat.com>
libsmartcols/src/filter-scanner.l

index 70db492621e7d19ef674646d4456b0fd9f9dc331..2bc299910c5dda7dfb206d03284cfb3e21e9ab5c 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]*\"