From 9c20ae54377da219cda359888e0d69aea6b42a52 Mon Sep 17 00:00:00 2001 From: Adam Dickmeiss Date: Fri, 15 Dec 1995 16:20:22 +0000 Subject: [PATCH] Added a few sample filters. --- tab/news.flt | 6 ++++++ tab/sgml.flt | 5 +++++ 2 files changed, 11 insertions(+) create mode 100644 tab/news.flt create mode 100644 tab/sgml.flt diff --git a/tab/news.flt b/tab/news.flt new file mode 100644 index 0000000..680c632 --- /dev/null +++ b/tab/news.flt @@ -0,0 +1,6 @@ +# $Id: news.flt,v 1.1 1995-12-15 16:20:22 adam Exp $ +%tagset wais +\nFrom: .* {b name p $1 e} +\nSubject: .* {b title p $1 e} +\nDate: .* {b dateOfLastModification p $1 e} +\n\n (\n|.)* {b Body p $1 e} diff --git a/tab/sgml.flt b/tab/sgml.flt new file mode 100644 index 0000000..7b0a156 --- /dev/null +++ b/tab/sgml.flt @@ -0,0 +1,5 @@ +# $Id: sgml.flt,v 1.1 1995-12-15 16:20:23 adam Exp $ +%tagset gils +\n*< [^>]+ >\n* {b $1} +\n*]* >\n* {e} +[ \n\t]+ {p { }} -- 1.7.10.4