New "finally" clause.
authorMike Taylor <mike@indexdata.com>
Mon, 23 Jan 2006 08:12:24 +0000 (08:12 +0000)
committerMike Taylor <mike@indexdata.com>
Mon, 23 Jan 2006 08:12:24 +0000 (08:12 +0000)
src/test_filter_query_rewrite.cpp

index 069d603..92d4343 100644 (file)
@@ -1,4 +1,4 @@
-/* $Id: test_filter_query_rewrite.cpp,v 1.3 2006-01-22 00:05:51 marc Exp $
+/* $Id: test_filter_query_rewrite.cpp,v 1.4 2006-01-23 08:12:24 mike Exp $
    Copyright (c) 2005, Index Data.
 
 %LICENSE%
@@ -207,6 +207,10 @@ BOOST_AUTO_UNIT_TEST( test_filter_query_rewrite3 )
             "    <expression>fish</expression>\n"
             "    <format>mouse</format>\n"
             "  </regex>\n"
+            "  <regex action='finally'>\n"
+            "    <expression>^</expression>\n"
+            "    <format>@and @attr1=9999 vdb</format>\n"
+            "  </regex>\n"
             "</filter>\n"
             ;