summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Silverstone <dsilvers@digital-scurf.org>2017-06-11 14:25:08 (GMT)
committer Daniel Silverstone <dsilvers@digital-scurf.org>2017-06-11 14:25:08 (GMT)
commit3d54e7a659d547abf474f6a8a0b2f2ac29588df1 (patch)
treea73605c0dfb336d6f45e5db72902a0fc6f1dc5ec
parent5c7ab100bcc1717eb6c761f6182d028169cd8d34 (diff)
downloadlibnslog-3d54e7a659d547abf474f6a8a0b2f2ac29588df1.tar.gz
libnslog-3d54e7a659d547abf474f6a8a0b2f2ac29588df1.tar.bz2
Don't let patterns consume : | & ^ or !
-rw-r--r--src/filter-lexer.l2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/filter-lexer.l b/src/filter-lexer.l
index 5f75d29..bbd11eb 100644
--- a/src/filter-lexer.l
+++ b/src/filter-lexer.l
@@ -41,7 +41,7 @@
whitespace [ \t]+
-pattern [^ \t]+
+pattern [^ \t:|&)^!]+
%x st_patt