summaryrefslogtreecommitdiffstats
path: root/filter/test.conf
diff options
context:
space:
mode:
authorPavel Machek <pavel@ucw.cz>2000-05-25 16:58:38 +0200
committerPavel Machek <pavel@ucw.cz>2000-05-25 16:58:38 +0200
commit9a09a64bb4160a5bb79cdf91bd95b7f77966f62e (patch)
tree7a5341aa9261056a4ab8061c16897efc24732025 /filter/test.conf
parentba1dda495ad29cd86260533828ce38c7d327f045 (diff)
downloadbird-9a09a64bb4160a5bb79cdf91bd95b7f77966f62e.tar
bird-9a09a64bb4160a5bb79cdf91bd95b7f77966f62e.zip
Use ? in path matching to avoid /* trap.
Diffstat (limited to 'filter/test.conf')
-rw-r--r--filter/test.conf4
1 files changed, 2 insertions, 2 deletions
diff --git a/filter/test.conf b/filter/test.conf
index c7fe415..7e67464 100644
--- a/filter/test.conf
+++ b/filter/test.conf
@@ -45,8 +45,8 @@ clist l;
print "4 = ", p2.len;
p2 = prepend( p2, 5 );
print "Should be false: ", p2 ~ p;
- print "Should be true: ", p2 ~ / * 4 3 2 1 /, p2, / * 4 3 2 1 /;
- print "Should be true: ", p2 ~ / * 4 3 * 1 /, p2, / * 4 3 * 1 /;
+ print "Should be true: ", p2 ~ / ? 4 3 2 1 /, p2, / ? 4 3 2 1 /;
+ print "Should be true: ", p2 ~ / ? 4 3 ? 1 /, p2, / ? 4 3 ? 1 /;
print "5 = ", p2.len;
l = - empty -;