Address qualification: ensure maformed addresses are logged. Bug 3061
[exim.git] / test / stderr / 0471
index 14fbe553472036424e3e6100d9d9dc7ac6a5cca7..a0950c7a376439f0288fe4c8541a8f5710a4f922 100644 (file)
@@ -1,10 +1,10 @@
 Exim version x.yz ....
 changed uid/gid: forcing real = effective
-  uid=uuuu gid=CALLER_GID pid=pppp
+  uid=uuuu gid=CALLER_GID pid=p1234
 configuration file is TESTSUITE/test-config
 admin user
 changed uid/gid: privilege not needed
-  uid=EXIM_UID gid=EXIM_GID pid=pppp
+  uid=EXIM_UID gid=EXIM_GID pid=p1234
 originator: uid=CALLER_UID gid=CALLER_GID login=CALLER name=CALLER_NAME
 sender address = CALLER@myhost.test.ex
 set_process_info: pppp accepting a local non-SMTP message from <CALLER@myhost.test.ex>
@@ -98,60 +98,82 @@ To: random@test.example,
  
 **** debug string too long - truncated ****
 
-address match test: subject=r1@test.ex pattern=*@*
-test.ex in "*"? yes (matched "*")
-r1@test.ex in "*@*"? yes (matched "*@*")
- search_open: lsearch "TESTSUITE/aux-fixed/0471.rw"
- search_find: file="TESTSUITE/aux-fixed/0471.rw"
-   key="test.ex" partial=2 affix=*. starflags=0 opts=NULL
- LRU list:
-   0TESTSUITE/aux-fixed/0471.rw
-   End
- internal_search_find: file="TESTSUITE/aux-fixed/0471.rw"
-   type=lsearch key="test.ex" opts=NULL
- file lookup required for test.ex
-   in TESTSUITE/aux-fixed/0471.rw
- creating new cache entry
- lookup failed
- trying partial match *.test.ex
- internal_search_find: file="TESTSUITE/aux-fixed/0471.rw"
-   type=lsearch key="*.test.ex" opts=NULL
- file lookup required for *.test.ex
-   in TESTSUITE/aux-fixed/0471.rw
- creating new cache entry
- lookup failed
-address match test: subject=CALLER@myhost.test.ex pattern=*@*
-myhost.test.ex in "*"? yes (matched "*")
-CALLER@myhost.test.ex in "*@*"? yes (matched "*@*")
- search_open: lsearch "TESTSUITE/aux-fixed/0471.rw"
-   cached open
- search_find: file="TESTSUITE/aux-fixed/0471.rw"
-   key="myhost.test.ex" partial=2 affix=*. starflags=0 opts=NULL
- LRU list:
-   0TESTSUITE/aux-fixed/0471.rw
-   End
- internal_search_find: file="TESTSUITE/aux-fixed/0471.rw"
-   type=lsearch key="myhost.test.ex" opts=NULL
- file lookup required for myhost.test.ex
-   in TESTSUITE/aux-fixed/0471.rw
- creating new cache entry
- lookup failed
- trying partial match *.myhost.test.ex
- internal_search_find: file="TESTSUITE/aux-fixed/0471.rw"
-   type=lsearch key="*.myhost.test.ex" opts=NULL
- file lookup required for *.myhost.test.ex
-   in TESTSUITE/aux-fixed/0471.rw
- creating new cache entry
- lookup failed
- trying partial match *.test.ex
- internal_search_find: file="TESTSUITE/aux-fixed/0471.rw"
-   type=lsearch key="*.test.ex" opts=NULL
- cached data used for lookup of *.test.ex
-   in TESTSUITE/aux-fixed/0471.rw
- lookup failed
+qualify & rewrite recipients list
+ r1@test.ex in "^.{40,}@*"?
+  list element: ^.{40,}@*
+  address match test: subject=r1@test.ex pattern=^.{40,}@*
+  compiled RE '^.{40,}@*' not found in local cache
+  compiled RE '^.{40,}@*' saved in local cache
+ r1@test.ex in "^.{40,}@*"? no (end of list)
+ r1@test.ex in "*@*"?
+  list element: *@*
+  address match test: subject=r1@test.ex pattern=*@*
+  test.ex in "*"?
+   list element: *
+   test.ex in "*"? yes (matched "*")
+  r1@test.ex in "*@*"? yes (matched "*@*")
+  search_open: lsearch "TESTSUITE/aux-fixed/0471.rw"
+  search_find: file="TESTSUITE/aux-fixed/0471.rw"
+    key="test.ex" partial=2 affix=*. starflags=0 opts=NULL
+  LRU list:
+    0TESTSUITE/aux-fixed/0471.rw
+    End
+  internal_search_find: file="TESTSUITE/aux-fixed/0471.rw"
+    type=lsearch key="test.ex" opts=NULL
+  file lookup required for test.ex
+    in TESTSUITE/aux-fixed/0471.rw
+  creating new cache entry
+  lookup failed
+  trying partial match *.test.ex
+  internal_search_find: file="TESTSUITE/aux-fixed/0471.rw"
+    type=lsearch key="*.test.ex" opts=NULL
+  file lookup required for *.test.ex
+    in TESTSUITE/aux-fixed/0471.rw
+  creating new cache entry
+  lookup failed
+rewrite rules on sender address
+ CALLER@myhost.test.ex in "^.{40,}@*"?
+  list element: ^.{40,}@*
+  address match test: subject=CALLER@myhost.test.ex pattern=^.{40,}@*
+  compiled RE '^.{40,}@*' found in local cache
+ CALLER@myhost.test.ex in "^.{40,}@*"? no (end of list)
+ CALLER@myhost.test.ex in "*@*"?
+  list element: *@*
+  address match test: subject=CALLER@myhost.test.ex pattern=*@*
+  myhost.test.ex in "*"?
+   list element: *
+   myhost.test.ex in "*"? yes (matched "*")
+  CALLER@myhost.test.ex in "*@*"? yes (matched "*@*")
+  search_open: lsearch "TESTSUITE/aux-fixed/0471.rw"
+    cached open
+  search_find: file="TESTSUITE/aux-fixed/0471.rw"
+    key="myhost.test.ex" partial=2 affix=*. starflags=0 opts=NULL
+  LRU list:
+    0TESTSUITE/aux-fixed/0471.rw
+    End
+  internal_search_find: file="TESTSUITE/aux-fixed/0471.rw"
+    type=lsearch key="myhost.test.ex" opts=NULL
+  file lookup required for myhost.test.ex
+    in TESTSUITE/aux-fixed/0471.rw
+  creating new cache entry
+  lookup failed
+  trying partial match *.myhost.test.ex
+  internal_search_find: file="TESTSUITE/aux-fixed/0471.rw"
+    type=lsearch key="*.myhost.test.ex" opts=NULL
+  file lookup required for *.myhost.test.ex
+    in TESTSUITE/aux-fixed/0471.rw
+  creating new cache entry
+  lookup failed
+  trying partial match *.test.ex
+  internal_search_find: file="TESTSUITE/aux-fixed/0471.rw"
+    type=lsearch key="*.test.ex" opts=NULL
+  cached data used for lookup of *.test.ex
+    in TESTSUITE/aux-fixed/0471.rw
+  lookup failed
 rewritten sender = CALLER@myhost.test.ex
-rewrite_one_header: type=T:
-  To: random@test.example,
+qualify and rewrite headers
+ rewrite_one_header: type=T:
+   To: random@test.example,
     random@test.example,
     random@test.example,
     random@test.example,
@@ -229,26 +251,35 @@ rewrite_one_header: type=T:
     random@test.example,
     random@test.example,
     random@test.example,
-    random@test.examp
+    random@test.exam
 **** debug string too long - truncated ****
-address match test: subject=random@test.example pattern=*@*
-test.example in "*"? yes (matched "*")
-random@test.example in "*@*"? yes (matched "*@*")
- search_open: lsearch "TESTSUITE/aux-fixed/0471.rw"
-   cached open
- search_find: file="TESTSUITE/aux-fixed/0471.rw"
-   key="test.example" partial=2 affix=*. starflags=0 opts=NULL
- LRU list:
-   0TESTSUITE/aux-fixed/0471.rw
-   End
- internal_search_find: file="TESTSUITE/aux-fixed/0471.rw"
-   type=lsearch key="test.example" opts=NULL
- file lookup required for test.example
-   in TESTSUITE/aux-fixed/0471.rw
- creating new cache entry
- lookup yielded: rwtest.example
+ random@test.example in "^.{40,}@*"?
+  list element: ^.{40,}@*
+  address match test: subject=random@test.example pattern=^.{40,}@*
+  compiled RE '^.{40,}@*' found in local cache
+ random@test.example in "^.{40,}@*"? no (end of list)
+ random@test.example in "*@*"?
+  list element: *@*
+  address match test: subject=random@test.example pattern=*@*
+  test.example in "*"?
+   list element: *
+   test.example in "*"? yes (matched "*")
+  random@test.example in "*@*"? yes (matched "*@*")
+  search_open: lsearch "TESTSUITE/aux-fixed/0471.rw"
+    cached open
+  search_find: file="TESTSUITE/aux-fixed/0471.rw"
+    key="test.example" partial=2 affix=*. starflags=0 opts=NULL
+  LRU list:
+    0TESTSUITE/aux-fixed/0471.rw
+    End
+  internal_search_find: file="TESTSUITE/aux-fixed/0471.rw"
+    type=lsearch key="test.example" opts=NULL
+  file lookup required for test.example
+    in TESTSUITE/aux-fixed/0471.rw
+  creating new cache entry
+  lookup yielded: rwtest.example
 LOG: address_rewrite MAIN
-  "random@test.example" from to: rewritten as "random@rwtest.example" by rule 1
+  "random@test.example" from to: rewritten as "random@rwtest.example" by rule 2
 newlen=4051 newtype=T newtext:
 To: random@rwtest.example,
     random@test.example,
@@ -411,23 +442,32 @@ remainder: random@test.example,
     random@test.example,
     random@test.exa
 **** debug string too long - truncated ****
-address match test: subject=random@test.example pattern=*@*
-test.example in "*"? yes (matched "*")
-random@test.example in "*@*"? yes (matched "*@*")
- search_open: lsearch "TESTSUITE/aux-fixed/0471.rw"
-   cached open
- search_find: file="TESTSUITE/aux-fixed/0471.rw"
-   key="test.example" partial=2 affix=*. starflags=0 opts=NULL
- LRU list:
-   0TESTSUITE/aux-fixed/0471.rw
-   End
- internal_search_find: file="TESTSUITE/aux-fixed/0471.rw"
-   type=lsearch key="test.example" opts=NULL
- cached data used for lookup of test.example
-   in TESTSUITE/aux-fixed/0471.rw
- lookup yielded: rwtest.example
+ random@test.example in "^.{40,}@*"?
+  list element: ^.{40,}@*
+  address match test: subject=random@test.example pattern=^.{40,}@*
+  compiled RE '^.{40,}@*' found in local cache
+ random@test.example in "^.{40,}@*"? no (end of list)
+ random@test.example in "*@*"?
+  list element: *@*
+  address match test: subject=random@test.example pattern=*@*
+  test.example in "*"?
+   list element: *
+   test.example in "*"? yes (matched "*")
+  random@test.example in "*@*"? yes (matched "*@*")
+  search_open: lsearch "TESTSUITE/aux-fixed/0471.rw"
+    cached open
+  search_find: file="TESTSUITE/aux-fixed/0471.rw"
+    key="test.example" partial=2 affix=*. starflags=0 opts=NULL
+  LRU list:
+    0TESTSUITE/aux-fixed/0471.rw
+    End
+  internal_search_find: file="TESTSUITE/aux-fixed/0471.rw"
+    type=lsearch key="test.example" opts=NULL
+  cached data used for lookup of test.example
+    in TESTSUITE/aux-fixed/0471.rw
+  lookup yielded: rwtest.example
 LOG: address_rewrite MAIN
-  "random@test.example" from to: rewritten as "random@rwtest.example" by rule 1
+  "random@test.example" from to: rewritten as "random@rwtest.example" by rule 2
 newlen=4053 newtype=T newtext:
 To: random@rwtest.example,
     random@rwtest.example,
@@ -590,23 +630,32 @@ remainder: random@test.example,
     random@test.example,
     random@test.exa
 **** debug string too long - truncated ****
-address match test: subject=random@test.example pattern=*@*
-test.example in "*"? yes (matched "*")
-random@test.example in "*@*"? yes (matched "*@*")
- search_open: lsearch "TESTSUITE/aux-fixed/0471.rw"
-   cached open
- search_find: file="TESTSUITE/aux-fixed/0471.rw"
-   key="test.example" partial=2 affix=*. starflags=0 opts=NULL
- LRU list:
-   0TESTSUITE/aux-fixed/0471.rw
-   End
- internal_search_find: file="TESTSUITE/aux-fixed/0471.rw"
-   type=lsearch key="test.example" opts=NULL
- cached data used for lookup of test.example
-   in TESTSUITE/aux-fixed/0471.rw
- lookup yielded: rwtest.example
+ random@test.example in "^.{40,}@*"?
+  list element: ^.{40,}@*
+  address match test: subject=random@test.example pattern=^.{40,}@*
+  compiled RE '^.{40,}@*' found in local cache
+ random@test.example in "^.{40,}@*"? no (end of list)
+ random@test.example in "*@*"?
+  list element: *@*
+  address match test: subject=random@test.example pattern=*@*
+  test.example in "*"?
+   list element: *
+   test.example in "*"? yes (matched "*")
+  random@test.example in "*@*"? yes (matched "*@*")
+  search_open: lsearch "TESTSUITE/aux-fixed/0471.rw"
+    cached open
+  search_find: file="TESTSUITE/aux-fixed/0471.rw"
+    key="test.example" partial=2 affix=*. starflags=0 opts=NULL
+  LRU list:
+    0TESTSUITE/aux-fixed/0471.rw
+    End
+  internal_search_find: file="TESTSUITE/aux-fixed/0471.rw"
+    type=lsearch key="test.example" opts=NULL
+  cached data used for lookup of test.example
+    in TESTSUITE/aux-fixed/0471.rw
+  lookup yielded: rwtest.example
 LOG: address_rewrite MAIN
-  "random@test.example" from to: rewritten as "random@rwtest.example" by rule 1
+  "random@test.example" from to: rewritten as "random@rwtest.example" by rule 2
 newlen=4055 newtype=T newtext:
 To: random@rwtest.example,
     random@rwtest.example,
@@ -769,23 +818,32 @@ remainder: random@test.example,
     random@test.example,
     random@test.exa
 **** debug string too long - truncated ****
-address match test: subject=random@test.example pattern=*@*
-test.example in "*"? yes (matched "*")
-random@test.example in "*@*"? yes (matched "*@*")
- search_open: lsearch "TESTSUITE/aux-fixed/0471.rw"
-   cached open
- search_find: file="TESTSUITE/aux-fixed/0471.rw"
-   key="test.example" partial=2 affix=*. starflags=0 opts=NULL
- LRU list:
-   0TESTSUITE/aux-fixed/0471.rw
-   End
- internal_search_find: file="TESTSUITE/aux-fixed/0471.rw"
-   type=lsearch key="test.example" opts=NULL
- cached data used for lookup of test.example
-   in TESTSUITE/aux-fixed/0471.rw
- lookup yielded: rwtest.example
+ random@test.example in "^.{40,}@*"?
+  list element: ^.{40,}@*
+  address match test: subject=random@test.example pattern=^.{40,}@*
+  compiled RE '^.{40,}@*' found in local cache
+ random@test.example in "^.{40,}@*"? no (end of list)
+ random@test.example in "*@*"?
+  list element: *@*
+  address match test: subject=random@test.example pattern=*@*
+  test.example in "*"?
+   list element: *
+   test.example in "*"? yes (matched "*")
+  random@test.example in "*@*"? yes (matched "*@*")
+  search_open: lsearch "TESTSUITE/aux-fixed/0471.rw"
+    cached open
+  search_find: file="TESTSUITE/aux-fixed/0471.rw"
+    key="test.example" partial=2 affix=*. starflags=0 opts=NULL
+  LRU list:
+    0TESTSUITE/aux-fixed/0471.rw
+    End
+  internal_search_find: file="TESTSUITE/aux-fixed/0471.rw"
+    type=lsearch key="test.example" opts=NULL
+  cached data used for lookup of test.example
+    in TESTSUITE/aux-fixed/0471.rw
+  lookup yielded: rwtest.example
 LOG: address_rewrite MAIN
-  "random@test.example" from to: rewritten as "random@rwtest.example" by rule 1
+  "random@test.example" from to: rewritten as "random@rwtest.example" by rule 2
 newlen=4057 newtype=T newtext:
 To: random@rwtest.example,
     random@rwtest.example,
@@ -948,23 +1006,32 @@ remainder: random@test.example,
     random@test.example,
     random@test.exa
 **** debug string too long - truncated ****
-address match test: subject=random@test.example pattern=*@*
-test.example in "*"? yes (matched "*")
-random@test.example in "*@*"? yes (matched "*@*")
- search_open: lsearch "TESTSUITE/aux-fixed/0471.rw"
-   cached open
- search_find: file="TESTSUITE/aux-fixed/0471.rw"
-   key="test.example" partial=2 affix=*. starflags=0 opts=NULL
- LRU list:
-   0TESTSUITE/aux-fixed/0471.rw
-   End
- internal_search_find: file="TESTSUITE/aux-fixed/0471.rw"
-   type=lsearch key="test.example" opts=NULL
- cached data used for lookup of test.example
-   in TESTSUITE/aux-fixed/0471.rw
- lookup yielded: rwtest.example
+ random@test.example in "^.{40,}@*"?
+  list element: ^.{40,}@*
+  address match test: subject=random@test.example pattern=^.{40,}@*
+  compiled RE '^.{40,}@*' found in local cache
+ random@test.example in "^.{40,}@*"? no (end of list)
+ random@test.example in "*@*"?
+  list element: *@*
+  address match test: subject=random@test.example pattern=*@*
+  test.example in "*"?
+   list element: *
+   test.example in "*"? yes (matched "*")
+  random@test.example in "*@*"? yes (matched "*@*")
+  search_open: lsearch "TESTSUITE/aux-fixed/0471.rw"
+    cached open
+  search_find: file="TESTSUITE/aux-fixed/0471.rw"
+    key="test.example" partial=2 affix=*. starflags=0 opts=NULL
+  LRU list:
+    0TESTSUITE/aux-fixed/0471.rw
+    End
+  internal_search_find: file="TESTSUITE/aux-fixed/0471.rw"
+    type=lsearch key="test.example" opts=NULL
+  cached data used for lookup of test.example
+    in TESTSUITE/aux-fixed/0471.rw
+  lookup yielded: rwtest.example
 LOG: address_rewrite MAIN
-  "random@test.example" from to: rewritten as "random@rwtest.example" by rule 1
+  "random@test.example" from to: rewritten as "random@rwtest.example" by rule 2
 newlen=4059 newtype=T newtext:
 To: random@rwtest.example,
     random@rwtest.example,
@@ -1127,23 +1194,32 @@ remainder: random@test.example,
     random@test.example,
     random@test.exa
 **** debug string too long - truncated ****
-address match test: subject=random@test.example pattern=*@*
-test.example in "*"? yes (matched "*")
-random@test.example in "*@*"? yes (matched "*@*")
- search_open: lsearch "TESTSUITE/aux-fixed/0471.rw"
-   cached open
- search_find: file="TESTSUITE/aux-fixed/0471.rw"
-   key="test.example" partial=2 affix=*. starflags=0 opts=NULL
- LRU list:
-   0TESTSUITE/aux-fixed/0471.rw
-   End
- internal_search_find: file="TESTSUITE/aux-fixed/0471.rw"
-   type=lsearch key="test.example" opts=NULL
- cached data used for lookup of test.example
-   in TESTSUITE/aux-fixed/0471.rw
- lookup yielded: rwtest.example
+ random@test.example in "^.{40,}@*"?
+  list element: ^.{40,}@*
+  address match test: subject=random@test.example pattern=^.{40,}@*
+  compiled RE '^.{40,}@*' found in local cache
+ random@test.example in "^.{40,}@*"? no (end of list)
+ random@test.example in "*@*"?
+  list element: *@*
+  address match test: subject=random@test.example pattern=*@*
+  test.example in "*"?
+   list element: *
+   test.example in "*"? yes (matched "*")
+  random@test.example in "*@*"? yes (matched "*@*")
+  search_open: lsearch "TESTSUITE/aux-fixed/0471.rw"
+    cached open
+  search_find: file="TESTSUITE/aux-fixed/0471.rw"
+    key="test.example" partial=2 affix=*. starflags=0 opts=NULL
+  LRU list:
+    0TESTSUITE/aux-fixed/0471.rw
+    End
+  internal_search_find: file="TESTSUITE/aux-fixed/0471.rw"
+    type=lsearch key="test.example" opts=NULL
+  cached data used for lookup of test.example
+    in TESTSUITE/aux-fixed/0471.rw
+  lookup yielded: rwtest.example
 LOG: address_rewrite MAIN
-  "random@test.example" from to: rewritten as "random@rwtest.example" by rule 1
+  "random@test.example" from to: rewritten as "random@rwtest.example" by rule 2
 newlen=4061 newtype=T newtext:
 To: random@rwtest.example,
     random@rwtest.example,
@@ -1306,23 +1382,32 @@ remainder: random@test.example,
     random@test.example,
     random@test.exa
 **** debug string too long - truncated ****
-address match test: subject=random@test.example pattern=*@*
-test.example in "*"? yes (matched "*")
-random@test.example in "*@*"? yes (matched "*@*")
- search_open: lsearch "TESTSUITE/aux-fixed/0471.rw"
-   cached open
- search_find: file="TESTSUITE/aux-fixed/0471.rw"
-   key="test.example" partial=2 affix=*. starflags=0 opts=NULL
- LRU list:
-   0TESTSUITE/aux-fixed/0471.rw
-   End
- internal_search_find: file="TESTSUITE/aux-fixed/0471.rw"
-   type=lsearch key="test.example" opts=NULL
- cached data used for lookup of test.example
-   in TESTSUITE/aux-fixed/0471.rw
- lookup yielded: rwtest.example
+ random@test.example in "^.{40,}@*"?
+  list element: ^.{40,}@*
+  address match test: subject=random@test.example pattern=^.{40,}@*
+  compiled RE '^.{40,}@*' found in local cache
+ random@test.example in "^.{40,}@*"? no (end of list)
+ random@test.example in "*@*"?
+  list element: *@*
+  address match test: subject=random@test.example pattern=*@*
+  test.example in "*"?
+   list element: *
+   test.example in "*"? yes (matched "*")
+  random@test.example in "*@*"? yes (matched "*@*")
+  search_open: lsearch "TESTSUITE/aux-fixed/0471.rw"
+    cached open
+  search_find: file="TESTSUITE/aux-fixed/0471.rw"
+    key="test.example" partial=2 affix=*. starflags=0 opts=NULL
+  LRU list:
+    0TESTSUITE/aux-fixed/0471.rw
+    End
+  internal_search_find: file="TESTSUITE/aux-fixed/0471.rw"
+    type=lsearch key="test.example" opts=NULL
+  cached data used for lookup of test.example
+    in TESTSUITE/aux-fixed/0471.rw
+  lookup yielded: rwtest.example
 LOG: address_rewrite MAIN
-  "random@test.example" from to: rewritten as "random@rwtest.example" by rule 1
+  "random@test.example" from to: rewritten as "random@rwtest.example" by rule 2
 newlen=4063 newtype=T newtext:
 To: random@rwtest.example,
     random@rwtest.example,
@@ -1485,23 +1570,32 @@ remainder: random@test.example,
     random@test.example,
     random@test.exa
 **** debug string too long - truncated ****
-address match test: subject=random@test.example pattern=*@*
-test.example in "*"? yes (matched "*")
-random@test.example in "*@*"? yes (matched "*@*")
- search_open: lsearch "TESTSUITE/aux-fixed/0471.rw"
-   cached open
- search_find: file="TESTSUITE/aux-fixed/0471.rw"
-   key="test.example" partial=2 affix=*. starflags=0 opts=NULL
- LRU list:
-   0TESTSUITE/aux-fixed/0471.rw
-   End
- internal_search_find: file="TESTSUITE/aux-fixed/0471.rw"
-   type=lsearch key="test.example" opts=NULL
- cached data used for lookup of test.example
-   in TESTSUITE/aux-fixed/0471.rw
- lookup yielded: rwtest.example
+ random@test.example in "^.{40,}@*"?
+  list element: ^.{40,}@*
+  address match test: subject=random@test.example pattern=^.{40,}@*
+  compiled RE '^.{40,}@*' found in local cache
+ random@test.example in "^.{40,}@*"? no (end of list)
+ random@test.example in "*@*"?
+  list element: *@*
+  address match test: subject=random@test.example pattern=*@*
+  test.example in "*"?
+   list element: *
+   test.example in "*"? yes (matched "*")
+  random@test.example in "*@*"? yes (matched "*@*")
+  search_open: lsearch "TESTSUITE/aux-fixed/0471.rw"
+    cached open
+  search_find: file="TESTSUITE/aux-fixed/0471.rw"
+    key="test.example" partial=2 affix=*. starflags=0 opts=NULL
+  LRU list:
+    0TESTSUITE/aux-fixed/0471.rw
+    End
+  internal_search_find: file="TESTSUITE/aux-fixed/0471.rw"
+    type=lsearch key="test.example" opts=NULL
+  cached data used for lookup of test.example
+    in TESTSUITE/aux-fixed/0471.rw
+  lookup yielded: rwtest.example
 LOG: address_rewrite MAIN
-  "random@test.example" from to: rewritten as "random@rwtest.example" by rule 1
+  "random@test.example" from to: rewritten as "random@rwtest.example" by rule 2
 newlen=4065 newtype=T newtext:
 To: random@rwtest.example,
     random@rwtest.example,
@@ -1664,23 +1758,32 @@ remainder: random@test.example,
     random@test.example,
     random@test.exa
 **** debug string too long - truncated ****
-address match test: subject=random@test.example pattern=*@*
-test.example in "*"? yes (matched "*")
-random@test.example in "*@*"? yes (matched "*@*")
- search_open: lsearch "TESTSUITE/aux-fixed/0471.rw"
-   cached open
- search_find: file="TESTSUITE/aux-fixed/0471.rw"
-   key="test.example" partial=2 affix=*. starflags=0 opts=NULL
- LRU list:
-   0TESTSUITE/aux-fixed/0471.rw
-   End
- internal_search_find: file="TESTSUITE/aux-fixed/0471.rw"
-   type=lsearch key="test.example" opts=NULL
- cached data used for lookup of test.example
-   in TESTSUITE/aux-fixed/0471.rw
- lookup yielded: rwtest.example
+ random@test.example in "^.{40,}@*"?
+  list element: ^.{40,}@*
+  address match test: subject=random@test.example pattern=^.{40,}@*
+  compiled RE '^.{40,}@*' found in local cache
+ random@test.example in "^.{40,}@*"? no (end of list)
+ random@test.example in "*@*"?
+  list element: *@*
+  address match test: subject=random@test.example pattern=*@*
+  test.example in "*"?
+   list element: *
+   test.example in "*"? yes (matched "*")
+  random@test.example in "*@*"? yes (matched "*@*")
+  search_open: lsearch "TESTSUITE/aux-fixed/0471.rw"
+    cached open
+  search_find: file="TESTSUITE/aux-fixed/0471.rw"
+    key="test.example" partial=2 affix=*. starflags=0 opts=NULL
+  LRU list:
+    0TESTSUITE/aux-fixed/0471.rw
+    End
+  internal_search_find: file="TESTSUITE/aux-fixed/0471.rw"
+    type=lsearch key="test.example" opts=NULL
+  cached data used for lookup of test.example
+    in TESTSUITE/aux-fixed/0471.rw
+  lookup yielded: rwtest.example
 LOG: address_rewrite MAIN
-  "random@test.example" from to: rewritten as "random@rwtest.example" by rule 1
+  "random@test.example" from to: rewritten as "random@rwtest.example" by rule 2
 newlen=4067 newtype=T newtext:
 To: random@rwtest.example,
     random@rwtest.example,
@@ -1843,23 +1946,32 @@ remainder: random@test.example,
     random@test.example,
     random@test.exa
 **** debug string too long - truncated ****
-address match test: subject=random@test.example pattern=*@*
-test.example in "*"? yes (matched "*")
-random@test.example in "*@*"? yes (matched "*@*")
- search_open: lsearch "TESTSUITE/aux-fixed/0471.rw"
-   cached open
- search_find: file="TESTSUITE/aux-fixed/0471.rw"
-   key="test.example" partial=2 affix=*. starflags=0 opts=NULL
- LRU list:
-   0TESTSUITE/aux-fixed/0471.rw
-   End
- internal_search_find: file="TESTSUITE/aux-fixed/0471.rw"
-   type=lsearch key="test.example" opts=NULL
- cached data used for lookup of test.example
-   in TESTSUITE/aux-fixed/0471.rw
- lookup yielded: rwtest.example
+ random@test.example in "^.{40,}@*"?
+  list element: ^.{40,}@*
+  address match test: subject=random@test.example pattern=^.{40,}@*
+  compiled RE '^.{40,}@*' found in local cache
+ random@test.example in "^.{40,}@*"? no (end of list)
+ random@test.example in "*@*"?
+  list element: *@*
+  address match test: subject=random@test.example pattern=*@*
+  test.example in "*"?
+   list element: *
+   test.example in "*"? yes (matched "*")
+  random@test.example in "*@*"? yes (matched "*@*")
+  search_open: lsearch "TESTSUITE/aux-fixed/0471.rw"
+    cached open
+  search_find: file="TESTSUITE/aux-fixed/0471.rw"
+    key="test.example" partial=2 affix=*. starflags=0 opts=NULL
+  LRU list:
+    0TESTSUITE/aux-fixed/0471.rw
+    End
+  internal_search_find: file="TESTSUITE/aux-fixed/0471.rw"
+    type=lsearch key="test.example" opts=NULL
+  cached data used for lookup of test.example
+    in TESTSUITE/aux-fixed/0471.rw
+  lookup yielded: rwtest.example
 LOG: address_rewrite MAIN
-  "random@test.example" from to: rewritten as "random@rwtest.example" by rule 1
+  "random@test.example" from to: rewritten as "random@rwtest.example" by rule 2
 newlen=4069 newtype=T newtext:
 To: random@rwtest.example,
     random@rwtest.example,
@@ -2021,23 +2133,32 @@ remainder: random@test.example,
     random@test.example,
     random@test.exa
 **** debug string too long - truncated ****
-address match test: subject=random@test.example pattern=*@*
-test.example in "*"? yes (matched "*")
-random@test.example in "*@*"? yes (matched "*@*")
- search_open: lsearch "TESTSUITE/aux-fixed/0471.rw"
-   cached open
- search_find: file="TESTSUITE/aux-fixed/0471.rw"
-   key="test.example" partial=2 affix=*. starflags=0 opts=NULL
- LRU list:
-   0TESTSUITE/aux-fixed/0471.rw
-   End
- internal_search_find: file="TESTSUITE/aux-fixed/0471.rw"
-   type=lsearch key="test.example" opts=NULL
- cached data used for lookup of test.example
-   in TESTSUITE/aux-fixed/0471.rw
- lookup yielded: rwtest.example
+ random@test.example in "^.{40,}@*"?
+  list element: ^.{40,}@*
+  address match test: subject=random@test.example pattern=^.{40,}@*
+  compiled RE '^.{40,}@*' found in local cache
+ random@test.example in "^.{40,}@*"? no (end of list)
+ random@test.example in "*@*"?
+  list element: *@*
+  address match test: subject=random@test.example pattern=*@*
+  test.example in "*"?
+   list element: *
+   test.example in "*"? yes (matched "*")
+  random@test.example in "*@*"? yes (matched "*@*")
+  search_open: lsearch "TESTSUITE/aux-fixed/0471.rw"
+    cached open
+  search_find: file="TESTSUITE/aux-fixed/0471.rw"
+    key="test.example" partial=2 affix=*. starflags=0 opts=NULL
+  LRU list:
+    0TESTSUITE/aux-fixed/0471.rw
+    End
+  internal_search_find: file="TESTSUITE/aux-fixed/0471.rw"
+    type=lsearch key="test.example" opts=NULL
+  cached data used for lookup of test.example
+    in TESTSUITE/aux-fixed/0471.rw
+  lookup yielded: rwtest.example
 LOG: address_rewrite MAIN
-  "random@test.example" from to: rewritten as "random@rwtest.example" by rule 1
+  "random@test.example" from to: rewritten as "random@rwtest.example" by rule 2
 newlen=4071 newtype=T newtext:
 To: random@rwtest.example,
     random@rwtest.example,
@@ -2199,23 +2320,32 @@ remainder: random@test.example,
     random@test.example,
     random@test.exa
 **** debug string too long - truncated ****
-address match test: subject=random@test.example pattern=*@*
-test.example in "*"? yes (matched "*")
-random@test.example in "*@*"? yes (matched "*@*")
- search_open: lsearch "TESTSUITE/aux-fixed/0471.rw"
-   cached open
- search_find: file="TESTSUITE/aux-fixed/0471.rw"
-   key="test.example" partial=2 affix=*. starflags=0 opts=NULL
- LRU list:
-   0TESTSUITE/aux-fixed/0471.rw
-   End
- internal_search_find: file="TESTSUITE/aux-fixed/0471.rw"
-   type=lsearch key="test.example" opts=NULL
- cached data used for lookup of test.example
-   in TESTSUITE/aux-fixed/0471.rw
- lookup yielded: rwtest.example
+ random@test.example in "^.{40,}@*"?
+  list element: ^.{40,}@*
+  address match test: subject=random@test.example pattern=^.{40,}@*
+  compiled RE '^.{40,}@*' found in local cache
+ random@test.example in "^.{40,}@*"? no (end of list)
+ random@test.example in "*@*"?
+  list element: *@*
+  address match test: subject=random@test.example pattern=*@*
+  test.example in "*"?
+   list element: *
+   test.example in "*"? yes (matched "*")
+  random@test.example in "*@*"? yes (matched "*@*")
+  search_open: lsearch "TESTSUITE/aux-fixed/0471.rw"
+    cached open
+  search_find: file="TESTSUITE/aux-fixed/0471.rw"
+    key="test.example" partial=2 affix=*. starflags=0 opts=NULL
+  LRU list:
+    0TESTSUITE/aux-fixed/0471.rw
+    End
+  internal_search_find: file="TESTSUITE/aux-fixed/0471.rw"
+    type=lsearch key="test.example" opts=NULL
+  cached data used for lookup of test.example
+    in TESTSUITE/aux-fixed/0471.rw
+  lookup yielded: rwtest.example
 LOG: address_rewrite MAIN
-  "random@test.example" from to: rewritten as "random@rwtest.example" by rule 1
+  "random@test.example" from to: rewritten as "random@rwtest.example" by rule 2
 newlen=4073 newtype=T newtext:
 To: random@rwtest.example,
     random@rwtest.example,
@@ -2377,23 +2507,32 @@ remainder: random@test.example,
     random@test.example,
     random@test.exa
 **** debug string too long - truncated ****
-address match test: subject=random@test.example pattern=*@*
-test.example in "*"? yes (matched "*")
-random@test.example in "*@*"? yes (matched "*@*")
- search_open: lsearch "TESTSUITE/aux-fixed/0471.rw"
-   cached open
- search_find: file="TESTSUITE/aux-fixed/0471.rw"
-   key="test.example" partial=2 affix=*. starflags=0 opts=NULL
- LRU list:
-   0TESTSUITE/aux-fixed/0471.rw
-   End
- internal_search_find: file="TESTSUITE/aux-fixed/0471.rw"
-   type=lsearch key="test.example" opts=NULL
- cached data used for lookup of test.example
-   in TESTSUITE/aux-fixed/0471.rw
- lookup yielded: rwtest.example
+ random@test.example in "^.{40,}@*"?
+  list element: ^.{40,}@*
+  address match test: subject=random@test.example pattern=^.{40,}@*
+  compiled RE '^.{40,}@*' found in local cache
+ random@test.example in "^.{40,}@*"? no (end of list)
+ random@test.example in "*@*"?
+  list element: *@*
+  address match test: subject=random@test.example pattern=*@*
+  test.example in "*"?
+   list element: *
+   test.example in "*"? yes (matched "*")
+  random@test.example in "*@*"? yes (matched "*@*")
+  search_open: lsearch "TESTSUITE/aux-fixed/0471.rw"
+    cached open
+  search_find: file="TESTSUITE/aux-fixed/0471.rw"
+    key="test.example" partial=2 affix=*. starflags=0 opts=NULL
+  LRU list:
+    0TESTSUITE/aux-fixed/0471.rw
+    End
+  internal_search_find: file="TESTSUITE/aux-fixed/0471.rw"
+    type=lsearch key="test.example" opts=NULL
+  cached data used for lookup of test.example
+    in TESTSUITE/aux-fixed/0471.rw
+  lookup yielded: rwtest.example
 LOG: address_rewrite MAIN
-  "random@test.example" from to: rewritten as "random@rwtest.example" by rule 1
+  "random@test.example" from to: rewritten as "random@rwtest.example" by rule 2
 newlen=4075 newtype=T newtext:
 To: random@rwtest.example,
     random@rwtest.example,
@@ -2555,23 +2694,32 @@ remainder: random@test.example,
     random@test.example,
     random@test.exa
 **** debug string too long - truncated ****
-address match test: subject=random@test.example pattern=*@*
-test.example in "*"? yes (matched "*")
-random@test.example in "*@*"? yes (matched "*@*")
- search_open: lsearch "TESTSUITE/aux-fixed/0471.rw"
-   cached open
- search_find: file="TESTSUITE/aux-fixed/0471.rw"
-   key="test.example" partial=2 affix=*. starflags=0 opts=NULL
- LRU list:
-   0TESTSUITE/aux-fixed/0471.rw
-   End
- internal_search_find: file="TESTSUITE/aux-fixed/0471.rw"
-   type=lsearch key="test.example" opts=NULL
- cached data used for lookup of test.example
-   in TESTSUITE/aux-fixed/0471.rw
- lookup yielded: rwtest.example
+ random@test.example in "^.{40,}@*"?
+  list element: ^.{40,}@*
+  address match test: subject=random@test.example pattern=^.{40,}@*
+  compiled RE '^.{40,}@*' found in local cache
+ random@test.example in "^.{40,}@*"? no (end of list)
+ random@test.example in "*@*"?
+  list element: *@*
+  address match test: subject=random@test.example pattern=*@*
+  test.example in "*"?
+   list element: *
+   test.example in "*"? yes (matched "*")
+  random@test.example in "*@*"? yes (matched "*@*")
+  search_open: lsearch "TESTSUITE/aux-fixed/0471.rw"
+    cached open
+  search_find: file="TESTSUITE/aux-fixed/0471.rw"
+    key="test.example" partial=2 affix=*. starflags=0 opts=NULL
+  LRU list:
+    0TESTSUITE/aux-fixed/0471.rw
+    End
+  internal_search_find: file="TESTSUITE/aux-fixed/0471.rw"
+    type=lsearch key="test.example" opts=NULL
+  cached data used for lookup of test.example
+    in TESTSUITE/aux-fixed/0471.rw
+  lookup yielded: rwtest.example
 LOG: address_rewrite MAIN
-  "random@test.example" from to: rewritten as "random@rwtest.example" by rule 1
+  "random@test.example" from to: rewritten as "random@rwtest.example" by rule 2
 newlen=4077 newtype=T newtext:
 To: random@rwtest.example,
     random@rwtest.example,
@@ -2733,23 +2881,32 @@ remainder: random@test.example,
     random@test.example,
     random@test.exa
 **** debug string too long - truncated ****
-address match test: subject=random@test.example pattern=*@*
-test.example in "*"? yes (matched "*")
-random@test.example in "*@*"? yes (matched "*@*")
- search_open: lsearch "TESTSUITE/aux-fixed/0471.rw"
-   cached open
- search_find: file="TESTSUITE/aux-fixed/0471.rw"
-   key="test.example" partial=2 affix=*. starflags=0 opts=NULL
- LRU list:
-   0TESTSUITE/aux-fixed/0471.rw
-   End
- internal_search_find: file="TESTSUITE/aux-fixed/0471.rw"
-   type=lsearch key="test.example" opts=NULL
- cached data used for lookup of test.example
-   in TESTSUITE/aux-fixed/0471.rw
- lookup yielded: rwtest.example
+ random@test.example in "^.{40,}@*"?
+  list element: ^.{40,}@*
+  address match test: subject=random@test.example pattern=^.{40,}@*
+  compiled RE '^.{40,}@*' found in local cache
+ random@test.example in "^.{40,}@*"? no (end of list)
+ random@test.example in "*@*"?
+  list element: *@*
+  address match test: subject=random@test.example pattern=*@*
+  test.example in "*"?
+   list element: *
+   test.example in "*"? yes (matched "*")
+  random@test.example in "*@*"? yes (matched "*@*")
+  search_open: lsearch "TESTSUITE/aux-fixed/0471.rw"
+    cached open
+  search_find: file="TESTSUITE/aux-fixed/0471.rw"
+    key="test.example" partial=2 affix=*. starflags=0 opts=NULL
+  LRU list:
+    0TESTSUITE/aux-fixed/0471.rw
+    End
+  internal_search_find: file="TESTSUITE/aux-fixed/0471.rw"
+    type=lsearch key="test.example" opts=NULL
+  cached data used for lookup of test.example
+    in TESTSUITE/aux-fixed/0471.rw
+  lookup yielded: rwtest.example
 LOG: address_rewrite MAIN
-  "random@test.example" from to: rewritten as "random@rwtest.example" by rule 1
+  "random@test.example" from to: rewritten as "random@rwtest.example" by rule 2
 newlen=4079 newtype=T newtext:
 To: random@rwtest.example,
     random@rwtest.example,
@@ -2911,23 +3068,32 @@ remainder: random@test.example,
     random@test.example,
     random@test.exa
 **** debug string too long - truncated ****
-address match test: subject=random@test.example pattern=*@*
-test.example in "*"? yes (matched "*")
-random@test.example in "*@*"? yes (matched "*@*")
- search_open: lsearch "TESTSUITE/aux-fixed/0471.rw"
-   cached open
- search_find: file="TESTSUITE/aux-fixed/0471.rw"
-   key="test.example" partial=2 affix=*. starflags=0 opts=NULL
- LRU list:
-   0TESTSUITE/aux-fixed/0471.rw
-   End
- internal_search_find: file="TESTSUITE/aux-fixed/0471.rw"
-   type=lsearch key="test.example" opts=NULL
- cached data used for lookup of test.example
-   in TESTSUITE/aux-fixed/0471.rw
- lookup yielded: rwtest.example
+ random@test.example in "^.{40,}@*"?
+  list element: ^.{40,}@*
+  address match test: subject=random@test.example pattern=^.{40,}@*
+  compiled RE '^.{40,}@*' found in local cache
+ random@test.example in "^.{40,}@*"? no (end of list)
+ random@test.example in "*@*"?
+  list element: *@*
+  address match test: subject=random@test.example pattern=*@*
+  test.example in "*"?
+   list element: *
+   test.example in "*"? yes (matched "*")
+  random@test.example in "*@*"? yes (matched "*@*")
+  search_open: lsearch "TESTSUITE/aux-fixed/0471.rw"
+    cached open
+  search_find: file="TESTSUITE/aux-fixed/0471.rw"
+    key="test.example" partial=2 affix=*. starflags=0 opts=NULL
+  LRU list:
+    0TESTSUITE/aux-fixed/0471.rw
+    End
+  internal_search_find: file="TESTSUITE/aux-fixed/0471.rw"
+    type=lsearch key="test.example" opts=NULL
+  cached data used for lookup of test.example
+    in TESTSUITE/aux-fixed/0471.rw
+  lookup yielded: rwtest.example
 LOG: address_rewrite MAIN
-  "random@test.example" from to: rewritten as "random@rwtest.example" by rule 1
+  "random@test.example" from to: rewritten as "random@rwtest.example" by rule 2
 newlen=4081 newtype=T newtext:
 To: random@rwtest.example,
     random@rwtest.example,
@@ -3089,23 +3255,32 @@ remainder: random@test.example,
     random@test.example,
     random@test.exa
 **** debug string too long - truncated ****
-address match test: subject=random@test.example pattern=*@*
-test.example in "*"? yes (matched "*")
-random@test.example in "*@*"? yes (matched "*@*")
- search_open: lsearch "TESTSUITE/aux-fixed/0471.rw"
-   cached open
- search_find: file="TESTSUITE/aux-fixed/0471.rw"
-   key="test.example" partial=2 affix=*. starflags=0 opts=NULL
- LRU list:
-   0TESTSUITE/aux-fixed/0471.rw
-   End
- internal_search_find: file="TESTSUITE/aux-fixed/0471.rw"
-   type=lsearch key="test.example" opts=NULL
- cached data used for lookup of test.example
-   in TESTSUITE/aux-fixed/0471.rw
- lookup yielded: rwtest.example
+ random@test.example in "^.{40,}@*"?
+  list element: ^.{40,}@*
+  address match test: subject=random@test.example pattern=^.{40,}@*
+  compiled RE '^.{40,}@*' found in local cache
+ random@test.example in "^.{40,}@*"? no (end of list)
+ random@test.example in "*@*"?
+  list element: *@*
+  address match test: subject=random@test.example pattern=*@*
+  test.example in "*"?
+   list element: *
+   test.example in "*"? yes (matched "*")
+  random@test.example in "*@*"? yes (matched "*@*")
+  search_open: lsearch "TESTSUITE/aux-fixed/0471.rw"
+    cached open
+  search_find: file="TESTSUITE/aux-fixed/0471.rw"
+    key="test.example" partial=2 affix=*. starflags=0 opts=NULL
+  LRU list:
+    0TESTSUITE/aux-fixed/0471.rw
+    End
+  internal_search_find: file="TESTSUITE/aux-fixed/0471.rw"
+    type=lsearch key="test.example" opts=NULL
+  cached data used for lookup of test.example
+    in TESTSUITE/aux-fixed/0471.rw
+  lookup yielded: rwtest.example
 LOG: address_rewrite MAIN
-  "random@test.example" from to: rewritten as "random@rwtest.example" by rule 1
+  "random@test.example" from to: rewritten as "random@rwtest.example" by rule 2
 newlen=4083 newtype=T newtext:
 To: random@rwtest.example,
     random@rwtest.example,
@@ -3267,23 +3442,32 @@ remainder: random@test.example,
     random@test.example,
     random@test.exa
 **** debug string too long - truncated ****
-address match test: subject=random@test.example pattern=*@*
-test.example in "*"? yes (matched "*")
-random@test.example in "*@*"? yes (matched "*@*")
- search_open: lsearch "TESTSUITE/aux-fixed/0471.rw"
-   cached open
- search_find: file="TESTSUITE/aux-fixed/0471.rw"
-   key="test.example" partial=2 affix=*. starflags=0 opts=NULL
- LRU list:
-   0TESTSUITE/aux-fixed/0471.rw
-   End
- internal_search_find: file="TESTSUITE/aux-fixed/0471.rw"
-   type=lsearch key="test.example" opts=NULL
- cached data used for lookup of test.example
-   in TESTSUITE/aux-fixed/0471.rw
- lookup yielded: rwtest.example
+ random@test.example in "^.{40,}@*"?
+  list element: ^.{40,}@*
+  address match test: subject=random@test.example pattern=^.{40,}@*
+  compiled RE '^.{40,}@*' found in local cache
+ random@test.example in "^.{40,}@*"? no (end of list)
+ random@test.example in "*@*"?
+  list element: *@*
+  address match test: subject=random@test.example pattern=*@*
+  test.example in "*"?
+   list element: *
+   test.example in "*"? yes (matched "*")
+  random@test.example in "*@*"? yes (matched "*@*")
+  search_open: lsearch "TESTSUITE/aux-fixed/0471.rw"
+    cached open
+  search_find: file="TESTSUITE/aux-fixed/0471.rw"
+    key="test.example" partial=2 affix=*. starflags=0 opts=NULL
+  LRU list:
+    0TESTSUITE/aux-fixed/0471.rw
+    End
+  internal_search_find: file="TESTSUITE/aux-fixed/0471.rw"
+    type=lsearch key="test.example" opts=NULL
+  cached data used for lookup of test.example
+    in TESTSUITE/aux-fixed/0471.rw
+  lookup yielded: rwtest.example
 LOG: address_rewrite MAIN
-  "random@test.example" from to: rewritten as "random@rwtest.example" by rule 1
+  "random@test.example" from to: rewritten as "random@rwtest.example" by rule 2
 newlen=4085 newtype=T newtext:
 To: random@rwtest.example,
     random@rwtest.example,
@@ -3445,23 +3629,32 @@ remainder: random@test.example,
     random@test.example,
     random@test.exa
 **** debug string too long - truncated ****
-address match test: subject=random@test.example pattern=*@*
-test.example in "*"? yes (matched "*")
-random@test.example in "*@*"? yes (matched "*@*")
- search_open: lsearch "TESTSUITE/aux-fixed/0471.rw"
-   cached open
- search_find: file="TESTSUITE/aux-fixed/0471.rw"
-   key="test.example" partial=2 affix=*. starflags=0 opts=NULL
- LRU list:
-   0TESTSUITE/aux-fixed/0471.rw
-   End
- internal_search_find: file="TESTSUITE/aux-fixed/0471.rw"
-   type=lsearch key="test.example" opts=NULL
- cached data used for lookup of test.example
-   in TESTSUITE/aux-fixed/0471.rw
- lookup yielded: rwtest.example
+ random@test.example in "^.{40,}@*"?
+  list element: ^.{40,}@*
+  address match test: subject=random@test.example pattern=^.{40,}@*
+  compiled RE '^.{40,}@*' found in local cache
+ random@test.example in "^.{40,}@*"? no (end of list)
+ random@test.example in "*@*"?
+  list element: *@*
+  address match test: subject=random@test.example pattern=*@*
+  test.example in "*"?
+   list element: *
+   test.example in "*"? yes (matched "*")
+  random@test.example in "*@*"? yes (matched "*@*")
+  search_open: lsearch "TESTSUITE/aux-fixed/0471.rw"
+    cached open
+  search_find: file="TESTSUITE/aux-fixed/0471.rw"
+    key="test.example" partial=2 affix=*. starflags=0 opts=NULL
+  LRU list:
+    0TESTSUITE/aux-fixed/0471.rw
+    End
+  internal_search_find: file="TESTSUITE/aux-fixed/0471.rw"
+    type=lsearch key="test.example" opts=NULL
+  cached data used for lookup of test.example
+    in TESTSUITE/aux-fixed/0471.rw
+  lookup yielded: rwtest.example
 LOG: address_rewrite MAIN
-  "random@test.example" from to: rewritten as "random@rwtest.example" by rule 1
+  "random@test.example" from to: rewritten as "random@rwtest.example" by rule 2
 newlen=4087 newtype=T newtext:
 To: random@rwtest.example,
     random@rwtest.example,
@@ -3623,23 +3816,32 @@ remainder: random@test.example,
     random@test.example,
     random@test.exa
 **** debug string too long - truncated ****
-address match test: subject=random@test.example pattern=*@*
-test.example in "*"? yes (matched "*")
-random@test.example in "*@*"? yes (matched "*@*")
- search_open: lsearch "TESTSUITE/aux-fixed/0471.rw"
-   cached open
- search_find: file="TESTSUITE/aux-fixed/0471.rw"
-   key="test.example" partial=2 affix=*. starflags=0 opts=NULL
- LRU list:
-   0TESTSUITE/aux-fixed/0471.rw
-   End
- internal_search_find: file="TESTSUITE/aux-fixed/0471.rw"
-   type=lsearch key="test.example" opts=NULL
- cached data used for lookup of test.example
-   in TESTSUITE/aux-fixed/0471.rw
- lookup yielded: rwtest.example
+ random@test.example in "^.{40,}@*"?
+  list element: ^.{40,}@*
+  address match test: subject=random@test.example pattern=^.{40,}@*
+  compiled RE '^.{40,}@*' found in local cache
+ random@test.example in "^.{40,}@*"? no (end of list)
+ random@test.example in "*@*"?
+  list element: *@*
+  address match test: subject=random@test.example pattern=*@*
+  test.example in "*"?
+   list element: *
+   test.example in "*"? yes (matched "*")
+  random@test.example in "*@*"? yes (matched "*@*")
+  search_open: lsearch "TESTSUITE/aux-fixed/0471.rw"
+    cached open
+  search_find: file="TESTSUITE/aux-fixed/0471.rw"
+    key="test.example" partial=2 affix=*. starflags=0 opts=NULL
+  LRU list:
+    0TESTSUITE/aux-fixed/0471.rw
+    End
+  internal_search_find: file="TESTSUITE/aux-fixed/0471.rw"
+    type=lsearch key="test.example" opts=NULL
+  cached data used for lookup of test.example
+    in TESTSUITE/aux-fixed/0471.rw
+  lookup yielded: rwtest.example
 LOG: address_rewrite MAIN
-  "random@test.example" from to: rewritten as "random@rwtest.example" by rule 1
+  "random@test.example" from to: rewritten as "random@rwtest.example" by rule 2
 newlen=4089 newtype=T newtext:
 To: random@rwtest.example,
     random@rwtest.example,
@@ -3801,23 +4003,32 @@ remainder: random@test.example,
     random@test.example,
     random@test.exa
 **** debug string too long - truncated ****
-address match test: subject=random@test.example pattern=*@*
-test.example in "*"? yes (matched "*")
-random@test.example in "*@*"? yes (matched "*@*")
- search_open: lsearch "TESTSUITE/aux-fixed/0471.rw"
-   cached open
- search_find: file="TESTSUITE/aux-fixed/0471.rw"
-   key="test.example" partial=2 affix=*. starflags=0 opts=NULL
- LRU list:
-   0TESTSUITE/aux-fixed/0471.rw
-   End
- internal_search_find: file="TESTSUITE/aux-fixed/0471.rw"
-   type=lsearch key="test.example" opts=NULL
- cached data used for lookup of test.example
-   in TESTSUITE/aux-fixed/0471.rw
- lookup yielded: rwtest.example
+ random@test.example in "^.{40,}@*"?
+  list element: ^.{40,}@*
+  address match test: subject=random@test.example pattern=^.{40,}@*
+  compiled RE '^.{40,}@*' found in local cache
+ random@test.example in "^.{40,}@*"? no (end of list)
+ random@test.example in "*@*"?
+  list element: *@*
+  address match test: subject=random@test.example pattern=*@*
+  test.example in "*"?
+   list element: *
+   test.example in "*"? yes (matched "*")
+  random@test.example in "*@*"? yes (matched "*@*")
+  search_open: lsearch "TESTSUITE/aux-fixed/0471.rw"
+    cached open
+  search_find: file="TESTSUITE/aux-fixed/0471.rw"
+    key="test.example" partial=2 affix=*. starflags=0 opts=NULL
+  LRU list:
+    0TESTSUITE/aux-fixed/0471.rw
+    End
+  internal_search_find: file="TESTSUITE/aux-fixed/0471.rw"
+    type=lsearch key="test.example" opts=NULL
+  cached data used for lookup of test.example
+    in TESTSUITE/aux-fixed/0471.rw
+  lookup yielded: rwtest.example
 LOG: address_rewrite MAIN
-  "random@test.example" from to: rewritten as "random@rwtest.example" by rule 1
+  "random@test.example" from to: rewritten as "random@rwtest.example" by rule 2
 newlen=4091 newtype=T newtext:
 To: random@rwtest.example,
     random@rwtest.example,
@@ -3979,23 +4190,32 @@ remainder: random@test.example,
     random@test.example,
     random@test.exa
 **** debug string too long - truncated ****
-address match test: subject=random@test.example pattern=*@*
-test.example in "*"? yes (matched "*")
-random@test.example in "*@*"? yes (matched "*@*")
- search_open: lsearch "TESTSUITE/aux-fixed/0471.rw"
-   cached open
- search_find: file="TESTSUITE/aux-fixed/0471.rw"
-   key="test.example" partial=2 affix=*. starflags=0 opts=NULL
- LRU list:
-   0TESTSUITE/aux-fixed/0471.rw
-   End
- internal_search_find: file="TESTSUITE/aux-fixed/0471.rw"
-   type=lsearch key="test.example" opts=NULL
- cached data used for lookup of test.example
-   in TESTSUITE/aux-fixed/0471.rw
- lookup yielded: rwtest.example
+ random@test.example in "^.{40,}@*"?
+  list element: ^.{40,}@*
+  address match test: subject=random@test.example pattern=^.{40,}@*
+  compiled RE '^.{40,}@*' found in local cache
+ random@test.example in "^.{40,}@*"? no (end of list)
+ random@test.example in "*@*"?
+  list element: *@*
+  address match test: subject=random@test.example pattern=*@*
+  test.example in "*"?
+   list element: *
+   test.example in "*"? yes (matched "*")
+  random@test.example in "*@*"? yes (matched "*@*")
+  search_open: lsearch "TESTSUITE/aux-fixed/0471.rw"
+    cached open
+  search_find: file="TESTSUITE/aux-fixed/0471.rw"
+    key="test.example" partial=2 affix=*. starflags=0 opts=NULL
+  LRU list:
+    0TESTSUITE/aux-fixed/0471.rw
+    End
+  internal_search_find: file="TESTSUITE/aux-fixed/0471.rw"
+    type=lsearch key="test.example" opts=NULL
+  cached data used for lookup of test.example
+    in TESTSUITE/aux-fixed/0471.rw
+  lookup yielded: rwtest.example
 LOG: address_rewrite MAIN
-  "random@test.example" from to: rewritten as "random@rwtest.example" by rule 1
+  "random@test.example" from to: rewritten as "random@rwtest.example" by rule 2
 newlen=4093 newtype=T newtext:
 To: random@rwtest.example,
     random@rwtest.example,
@@ -4157,23 +4377,32 @@ remainder: random@test.example,
     random@test.example,
     random@test.exa
 **** debug string too long - truncated ****
-address match test: subject=random@test.example pattern=*@*
-test.example in "*"? yes (matched "*")
-random@test.example in "*@*"? yes (matched "*@*")
- search_open: lsearch "TESTSUITE/aux-fixed/0471.rw"
-   cached open
- search_find: file="TESTSUITE/aux-fixed/0471.rw"
-   key="test.example" partial=2 affix=*. starflags=0 opts=NULL
- LRU list:
-   0TESTSUITE/aux-fixed/0471.rw
-   End
- internal_search_find: file="TESTSUITE/aux-fixed/0471.rw"
-   type=lsearch key="test.example" opts=NULL
- cached data used for lookup of test.example
-   in TESTSUITE/aux-fixed/0471.rw
- lookup yielded: rwtest.example
+ random@test.example in "^.{40,}@*"?
+  list element: ^.{40,}@*
+  address match test: subject=random@test.example pattern=^.{40,}@*
+  compiled RE '^.{40,}@*' found in local cache
+ random@test.example in "^.{40,}@*"? no (end of list)
+ random@test.example in "*@*"?
+  list element: *@*
+  address match test: subject=random@test.example pattern=*@*
+  test.example in "*"?
+   list element: *
+   test.example in "*"? yes (matched "*")
+  random@test.example in "*@*"? yes (matched "*@*")
+  search_open: lsearch "TESTSUITE/aux-fixed/0471.rw"
+    cached open
+  search_find: file="TESTSUITE/aux-fixed/0471.rw"
+    key="test.example" partial=2 affix=*. starflags=0 opts=NULL
+  LRU list:
+    0TESTSUITE/aux-fixed/0471.rw
+    End
+  internal_search_find: file="TESTSUITE/aux-fixed/0471.rw"
+    type=lsearch key="test.example" opts=NULL
+  cached data used for lookup of test.example
+    in TESTSUITE/aux-fixed/0471.rw
+  lookup yielded: rwtest.example
 LOG: address_rewrite MAIN
-  "random@test.example" from to: rewritten as "random@rwtest.example" by rule 1
+  "random@test.example" from to: rewritten as "random@rwtest.example" by rule 2
 newlen=4095 newtype=T newtext:
 To: random@rwtest.example,
     random@rwtest.example,
@@ -4334,23 +4563,32 @@ remainder: random@test.example,
     random@test.example,
     random@test.exa
 **** debug string too long - truncated ****
-address match test: subject=random@test.example pattern=*@*
-test.example in "*"? yes (matched "*")
-random@test.example in "*@*"? yes (matched "*@*")
- search_open: lsearch "TESTSUITE/aux-fixed/0471.rw"
-   cached open
- search_find: file="TESTSUITE/aux-fixed/0471.rw"
-   key="test.example" partial=2 affix=*. starflags=0 opts=NULL
- LRU list:
-   0TESTSUITE/aux-fixed/0471.rw
-   End
- internal_search_find: file="TESTSUITE/aux-fixed/0471.rw"
-   type=lsearch key="test.example" opts=NULL
- cached data used for lookup of test.example
-   in TESTSUITE/aux-fixed/0471.rw
- lookup yielded: rwtest.example
+ random@test.example in "^.{40,}@*"?
+  list element: ^.{40,}@*
+  address match test: subject=random@test.example pattern=^.{40,}@*
+  compiled RE '^.{40,}@*' found in local cache
+ random@test.example in "^.{40,}@*"? no (end of list)
+ random@test.example in "*@*"?
+  list element: *@*
+  address match test: subject=random@test.example pattern=*@*
+  test.example in "*"?
+   list element: *
+   test.example in "*"? yes (matched "*")
+  random@test.example in "*@*"? yes (matched "*@*")
+  search_open: lsearch "TESTSUITE/aux-fixed/0471.rw"
+    cached open
+  search_find: file="TESTSUITE/aux-fixed/0471.rw"
+    key="test.example" partial=2 affix=*. starflags=0 opts=NULL
+  LRU list:
+    0TESTSUITE/aux-fixed/0471.rw
+    End
+  internal_search_find: file="TESTSUITE/aux-fixed/0471.rw"
+    type=lsearch key="test.example" opts=NULL
+  cached data used for lookup of test.example
+    in TESTSUITE/aux-fixed/0471.rw
+  lookup yielded: rwtest.example
 LOG: address_rewrite MAIN
-  "random@test.example" from to: rewritten as "random@rwtest.example" by rule 1
+  "random@test.example" from to: rewritten as "random@rwtest.example" by rule 2
 newlen=4097 newtype=T newtext:
 To: random@rwtest.example,
     random@rwtest.example,
@@ -4511,23 +4749,32 @@ remainder: random@test.example,
     random@test.example,
     random@test.exa
 **** debug string too long - truncated ****
-address match test: subject=random@test.example pattern=*@*
-test.example in "*"? yes (matched "*")
-random@test.example in "*@*"? yes (matched "*@*")
- search_open: lsearch "TESTSUITE/aux-fixed/0471.rw"
-   cached open
- search_find: file="TESTSUITE/aux-fixed/0471.rw"
-   key="test.example" partial=2 affix=*. starflags=0 opts=NULL
- LRU list:
-   0TESTSUITE/aux-fixed/0471.rw
-   End
- internal_search_find: file="TESTSUITE/aux-fixed/0471.rw"
-   type=lsearch key="test.example" opts=NULL
- cached data used for lookup of test.example
-   in TESTSUITE/aux-fixed/0471.rw
- lookup yielded: rwtest.example
+ random@test.example in "^.{40,}@*"?
+  list element: ^.{40,}@*
+  address match test: subject=random@test.example pattern=^.{40,}@*
+  compiled RE '^.{40,}@*' found in local cache
+ random@test.example in "^.{40,}@*"? no (end of list)
+ random@test.example in "*@*"?
+  list element: *@*
+  address match test: subject=random@test.example pattern=*@*
+  test.example in "*"?
+   list element: *
+   test.example in "*"? yes (matched "*")
+  random@test.example in "*@*"? yes (matched "*@*")
+  search_open: lsearch "TESTSUITE/aux-fixed/0471.rw"
+    cached open
+  search_find: file="TESTSUITE/aux-fixed/0471.rw"
+    key="test.example" partial=2 affix=*. starflags=0 opts=NULL
+  LRU list:
+    0TESTSUITE/aux-fixed/0471.rw
+    End
+  internal_search_find: file="TESTSUITE/aux-fixed/0471.rw"
+    type=lsearch key="test.example" opts=NULL
+  cached data used for lookup of test.example
+    in TESTSUITE/aux-fixed/0471.rw
+  lookup yielded: rwtest.example
 LOG: address_rewrite MAIN
-  "random@test.example" from to: rewritten as "random@rwtest.example" by rule 1
+  "random@test.example" from to: rewritten as "random@rwtest.example" by rule 2
 newlen=4099 newtype=T newtext:
 To: random@rwtest.example,
     random@rwtest.example,
@@ -4688,23 +4935,32 @@ remainder: random@test.example,
     random@test.example,
     random@test.exa
 **** debug string too long - truncated ****
-address match test: subject=random@test.example pattern=*@*
-test.example in "*"? yes (matched "*")
-random@test.example in "*@*"? yes (matched "*@*")
- search_open: lsearch "TESTSUITE/aux-fixed/0471.rw"
-   cached open
- search_find: file="TESTSUITE/aux-fixed/0471.rw"
-   key="test.example" partial=2 affix=*. starflags=0 opts=NULL
- LRU list:
-   0TESTSUITE/aux-fixed/0471.rw
-   End
- internal_search_find: file="TESTSUITE/aux-fixed/0471.rw"
-   type=lsearch key="test.example" opts=NULL
- cached data used for lookup of test.example
-   in TESTSUITE/aux-fixed/0471.rw
- lookup yielded: rwtest.example
+ random@test.example in "^.{40,}@*"?
+  list element: ^.{40,}@*
+  address match test: subject=random@test.example pattern=^.{40,}@*
+  compiled RE '^.{40,}@*' found in local cache
+ random@test.example in "^.{40,}@*"? no (end of list)
+ random@test.example in "*@*"?
+  list element: *@*
+  address match test: subject=random@test.example pattern=*@*
+  test.example in "*"?
+   list element: *
+   test.example in "*"? yes (matched "*")
+  random@test.example in "*@*"? yes (matched "*@*")
+  search_open: lsearch "TESTSUITE/aux-fixed/0471.rw"
+    cached open
+  search_find: file="TESTSUITE/aux-fixed/0471.rw"
+    key="test.example" partial=2 affix=*. starflags=0 opts=NULL
+  LRU list:
+    0TESTSUITE/aux-fixed/0471.rw
+    End
+  internal_search_find: file="TESTSUITE/aux-fixed/0471.rw"
+    type=lsearch key="test.example" opts=NULL
+  cached data used for lookup of test.example
+    in TESTSUITE/aux-fixed/0471.rw
+  lookup yielded: rwtest.example
 LOG: address_rewrite MAIN
-  "random@test.example" from to: rewritten as "random@rwtest.example" by rule 1
+  "random@test.example" from to: rewritten as "random@rwtest.example" by rule 2
 newlen=4101 newtype=T newtext:
 To: random@rwtest.example,
     random@rwtest.example,
@@ -4865,23 +5121,32 @@ remainder: random@test.example,
     random@test.example,
     random@test.exa
 **** debug string too long - truncated ****
-address match test: subject=random@test.example pattern=*@*
-test.example in "*"? yes (matched "*")
-random@test.example in "*@*"? yes (matched "*@*")
- search_open: lsearch "TESTSUITE/aux-fixed/0471.rw"
-   cached open
- search_find: file="TESTSUITE/aux-fixed/0471.rw"
-   key="test.example" partial=2 affix=*. starflags=0 opts=NULL
- LRU list:
-   0TESTSUITE/aux-fixed/0471.rw
-   End
- internal_search_find: file="TESTSUITE/aux-fixed/0471.rw"
-   type=lsearch key="test.example" opts=NULL
- cached data used for lookup of test.example
-   in TESTSUITE/aux-fixed/0471.rw
- lookup yielded: rwtest.example
+ random@test.example in "^.{40,}@*"?
+  list element: ^.{40,}@*
+  address match test: subject=random@test.example pattern=^.{40,}@*
+  compiled RE '^.{40,}@*' found in local cache
+ random@test.example in "^.{40,}@*"? no (end of list)
+ random@test.example in "*@*"?
+  list element: *@*
+  address match test: subject=random@test.example pattern=*@*
+  test.example in "*"?
+   list element: *
+   test.example in "*"? yes (matched "*")
+  random@test.example in "*@*"? yes (matched "*@*")
+  search_open: lsearch "TESTSUITE/aux-fixed/0471.rw"
+    cached open
+  search_find: file="TESTSUITE/aux-fixed/0471.rw"
+    key="test.example" partial=2 affix=*. starflags=0 opts=NULL
+  LRU list:
+    0TESTSUITE/aux-fixed/0471.rw
+    End
+  internal_search_find: file="TESTSUITE/aux-fixed/0471.rw"
+    type=lsearch key="test.example" opts=NULL
+  cached data used for lookup of test.example
+    in TESTSUITE/aux-fixed/0471.rw
+  lookup yielded: rwtest.example
 LOG: address_rewrite MAIN
-  "random@test.example" from to: rewritten as "random@rwtest.example" by rule 1
+  "random@test.example" from to: rewritten as "random@rwtest.example" by rule 2
 newlen=4103 newtype=T newtext:
 To: random@rwtest.example,
     random@rwtest.example,
@@ -5042,23 +5307,32 @@ remainder: random@test.example,
     random@test.example,
     random@test.exa
 **** debug string too long - truncated ****
-address match test: subject=random@test.example pattern=*@*
-test.example in "*"? yes (matched "*")
-random@test.example in "*@*"? yes (matched "*@*")
- search_open: lsearch "TESTSUITE/aux-fixed/0471.rw"
-   cached open
- search_find: file="TESTSUITE/aux-fixed/0471.rw"
-   key="test.example" partial=2 affix=*. starflags=0 opts=NULL
- LRU list:
-   0TESTSUITE/aux-fixed/0471.rw
-   End
- internal_search_find: file="TESTSUITE/aux-fixed/0471.rw"
-   type=lsearch key="test.example" opts=NULL
- cached data used for lookup of test.example
-   in TESTSUITE/aux-fixed/0471.rw
- lookup yielded: rwtest.example
+ random@test.example in "^.{40,}@*"?
+  list element: ^.{40,}@*
+  address match test: subject=random@test.example pattern=^.{40,}@*
+  compiled RE '^.{40,}@*' found in local cache
+ random@test.example in "^.{40,}@*"? no (end of list)
+ random@test.example in "*@*"?
+  list element: *@*
+  address match test: subject=random@test.example pattern=*@*
+  test.example in "*"?
+   list element: *
+   test.example in "*"? yes (matched "*")
+  random@test.example in "*@*"? yes (matched "*@*")
+  search_open: lsearch "TESTSUITE/aux-fixed/0471.rw"
+    cached open
+  search_find: file="TESTSUITE/aux-fixed/0471.rw"
+    key="test.example" partial=2 affix=*. starflags=0 opts=NULL
+  LRU list:
+    0TESTSUITE/aux-fixed/0471.rw
+    End
+  internal_search_find: file="TESTSUITE/aux-fixed/0471.rw"
+    type=lsearch key="test.example" opts=NULL
+  cached data used for lookup of test.example
+    in TESTSUITE/aux-fixed/0471.rw
+  lookup yielded: rwtest.example
 LOG: address_rewrite MAIN
-  "random@test.example" from to: rewritten as "random@rwtest.example" by rule 1
+  "random@test.example" from to: rewritten as "random@rwtest.example" by rule 2
 newlen=4105 newtype=T newtext:
 To: random@rwtest.example,
     random@rwtest.example,
@@ -5219,23 +5493,32 @@ remainder: random@test.example,
     random@test.example,
     random@test.exa
 **** debug string too long - truncated ****
-address match test: subject=random@test.example pattern=*@*
-test.example in "*"? yes (matched "*")
-random@test.example in "*@*"? yes (matched "*@*")
- search_open: lsearch "TESTSUITE/aux-fixed/0471.rw"
-   cached open
- search_find: file="TESTSUITE/aux-fixed/0471.rw"
-   key="test.example" partial=2 affix=*. starflags=0 opts=NULL
- LRU list:
-   0TESTSUITE/aux-fixed/0471.rw
-   End
- internal_search_find: file="TESTSUITE/aux-fixed/0471.rw"
-   type=lsearch key="test.example" opts=NULL
- cached data used for lookup of test.example
-   in TESTSUITE/aux-fixed/0471.rw
- lookup yielded: rwtest.example
+ random@test.example in "^.{40,}@*"?
+  list element: ^.{40,}@*
+  address match test: subject=random@test.example pattern=^.{40,}@*
+  compiled RE '^.{40,}@*' found in local cache
+ random@test.example in "^.{40,}@*"? no (end of list)
+ random@test.example in "*@*"?
+  list element: *@*
+  address match test: subject=random@test.example pattern=*@*
+  test.example in "*"?
+   list element: *
+   test.example in "*"? yes (matched "*")
+  random@test.example in "*@*"? yes (matched "*@*")
+  search_open: lsearch "TESTSUITE/aux-fixed/0471.rw"
+    cached open
+  search_find: file="TESTSUITE/aux-fixed/0471.rw"
+    key="test.example" partial=2 affix=*. starflags=0 opts=NULL
+  LRU list:
+    0TESTSUITE/aux-fixed/0471.rw
+    End
+  internal_search_find: file="TESTSUITE/aux-fixed/0471.rw"
+    type=lsearch key="test.example" opts=NULL
+  cached data used for lookup of test.example
+    in TESTSUITE/aux-fixed/0471.rw
+  lookup yielded: rwtest.example
 LOG: address_rewrite MAIN
-  "random@test.example" from to: rewritten as "random@rwtest.example" by rule 1
+  "random@test.example" from to: rewritten as "random@rwtest.example" by rule 2
 newlen=4107 newtype=T newtext:
 To: random@rwtest.example,
     random@rwtest.example,
@@ -5396,23 +5679,32 @@ remainder: random@test.example,
     random@test.example,
     random@test.exa
 **** debug string too long - truncated ****
-address match test: subject=random@test.example pattern=*@*
-test.example in "*"? yes (matched "*")
-random@test.example in "*@*"? yes (matched "*@*")
- search_open: lsearch "TESTSUITE/aux-fixed/0471.rw"
-   cached open
- search_find: file="TESTSUITE/aux-fixed/0471.rw"
-   key="test.example" partial=2 affix=*. starflags=0 opts=NULL
- LRU list:
-   0TESTSUITE/aux-fixed/0471.rw
-   End
- internal_search_find: file="TESTSUITE/aux-fixed/0471.rw"
-   type=lsearch key="test.example" opts=NULL
- cached data used for lookup of test.example
-   in TESTSUITE/aux-fixed/0471.rw
- lookup yielded: rwtest.example
+ random@test.example in "^.{40,}@*"?
+  list element: ^.{40,}@*
+  address match test: subject=random@test.example pattern=^.{40,}@*
+  compiled RE '^.{40,}@*' found in local cache
+ random@test.example in "^.{40,}@*"? no (end of list)
+ random@test.example in "*@*"?
+  list element: *@*
+  address match test: subject=random@test.example pattern=*@*
+  test.example in "*"?
+   list element: *
+   test.example in "*"? yes (matched "*")
+  random@test.example in "*@*"? yes (matched "*@*")
+  search_open: lsearch "TESTSUITE/aux-fixed/0471.rw"
+    cached open
+  search_find: file="TESTSUITE/aux-fixed/0471.rw"
+    key="test.example" partial=2 affix=*. starflags=0 opts=NULL
+  LRU list:
+    0TESTSUITE/aux-fixed/0471.rw
+    End
+  internal_search_find: file="TESTSUITE/aux-fixed/0471.rw"
+    type=lsearch key="test.example" opts=NULL
+  cached data used for lookup of test.example
+    in TESTSUITE/aux-fixed/0471.rw
+  lookup yielded: rwtest.example
 LOG: address_rewrite MAIN
-  "random@test.example" from to: rewritten as "random@rwtest.example" by rule 1
+  "random@test.example" from to: rewritten as "random@rwtest.example" by rule 2
 newlen=4109 newtype=T newtext:
 To: random@rwtest.example,
     random@rwtest.example,
@@ -5573,23 +5865,32 @@ remainder: random@test.example,
     random@test.example,
     random@test.exa
 **** debug string too long - truncated ****
-address match test: subject=random@test.example pattern=*@*
-test.example in "*"? yes (matched "*")
-random@test.example in "*@*"? yes (matched "*@*")
- search_open: lsearch "TESTSUITE/aux-fixed/0471.rw"
-   cached open
- search_find: file="TESTSUITE/aux-fixed/0471.rw"
-   key="test.example" partial=2 affix=*. starflags=0 opts=NULL
- LRU list:
-   0TESTSUITE/aux-fixed/0471.rw
-   End
- internal_search_find: file="TESTSUITE/aux-fixed/0471.rw"
-   type=lsearch key="test.example" opts=NULL
- cached data used for lookup of test.example
-   in TESTSUITE/aux-fixed/0471.rw
- lookup yielded: rwtest.example
+ random@test.example in "^.{40,}@*"?
+  list element: ^.{40,}@*
+  address match test: subject=random@test.example pattern=^.{40,}@*
+  compiled RE '^.{40,}@*' found in local cache
+ random@test.example in "^.{40,}@*"? no (end of list)
+ random@test.example in "*@*"?
+  list element: *@*
+  address match test: subject=random@test.example pattern=*@*
+  test.example in "*"?
+   list element: *
+   test.example in "*"? yes (matched "*")
+  random@test.example in "*@*"? yes (matched "*@*")
+  search_open: lsearch "TESTSUITE/aux-fixed/0471.rw"
+    cached open
+  search_find: file="TESTSUITE/aux-fixed/0471.rw"
+    key="test.example" partial=2 affix=*. starflags=0 opts=NULL
+  LRU list:
+    0TESTSUITE/aux-fixed/0471.rw
+    End
+  internal_search_find: file="TESTSUITE/aux-fixed/0471.rw"
+    type=lsearch key="test.example" opts=NULL
+  cached data used for lookup of test.example
+    in TESTSUITE/aux-fixed/0471.rw
+  lookup yielded: rwtest.example
 LOG: address_rewrite MAIN
-  "random@test.example" from to: rewritten as "random@rwtest.example" by rule 1
+  "random@test.example" from to: rewritten as "random@rwtest.example" by rule 2
 newlen=4111 newtype=T newtext:
 To: random@rwtest.example,
     random@rwtest.example,
@@ -5750,23 +6051,32 @@ remainder: random@test.example,
     random@test.example,
     random@test.exa
 **** debug string too long - truncated ****
-address match test: subject=random@test.example pattern=*@*
-test.example in "*"? yes (matched "*")
-random@test.example in "*@*"? yes (matched "*@*")
- search_open: lsearch "TESTSUITE/aux-fixed/0471.rw"
-   cached open
- search_find: file="TESTSUITE/aux-fixed/0471.rw"
-   key="test.example" partial=2 affix=*. starflags=0 opts=NULL
- LRU list:
-   0TESTSUITE/aux-fixed/0471.rw
-   End
- internal_search_find: file="TESTSUITE/aux-fixed/0471.rw"
-   type=lsearch key="test.example" opts=NULL
- cached data used for lookup of test.example
-   in TESTSUITE/aux-fixed/0471.rw
- lookup yielded: rwtest.example
+ random@test.example in "^.{40,}@*"?
+  list element: ^.{40,}@*
+  address match test: subject=random@test.example pattern=^.{40,}@*
+  compiled RE '^.{40,}@*' found in local cache
+ random@test.example in "^.{40,}@*"? no (end of list)
+ random@test.example in "*@*"?
+  list element: *@*
+  address match test: subject=random@test.example pattern=*@*
+  test.example in "*"?
+   list element: *
+   test.example in "*"? yes (matched "*")
+  random@test.example in "*@*"? yes (matched "*@*")
+  search_open: lsearch "TESTSUITE/aux-fixed/0471.rw"
+    cached open
+  search_find: file="TESTSUITE/aux-fixed/0471.rw"
+    key="test.example" partial=2 affix=*. starflags=0 opts=NULL
+  LRU list:
+    0TESTSUITE/aux-fixed/0471.rw
+    End
+  internal_search_find: file="TESTSUITE/aux-fixed/0471.rw"
+    type=lsearch key="test.example" opts=NULL
+  cached data used for lookup of test.example
+    in TESTSUITE/aux-fixed/0471.rw
+  lookup yielded: rwtest.example
 LOG: address_rewrite MAIN
-  "random@test.example" from to: rewritten as "random@rwtest.example" by rule 1
+  "random@test.example" from to: rewritten as "random@rwtest.example" by rule 2
 newlen=4113 newtype=T newtext:
 To: random@rwtest.example,
     random@rwtest.example,
@@ -5927,23 +6237,32 @@ remainder: random@test.example,
     random@test.example,
     random@test.exa
 **** debug string too long - truncated ****
-address match test: subject=random@test.example pattern=*@*
-test.example in "*"? yes (matched "*")
-random@test.example in "*@*"? yes (matched "*@*")
- search_open: lsearch "TESTSUITE/aux-fixed/0471.rw"
-   cached open
- search_find: file="TESTSUITE/aux-fixed/0471.rw"
-   key="test.example" partial=2 affix=*. starflags=0 opts=NULL
- LRU list:
-   0TESTSUITE/aux-fixed/0471.rw
-   End
- internal_search_find: file="TESTSUITE/aux-fixed/0471.rw"
-   type=lsearch key="test.example" opts=NULL
- cached data used for lookup of test.example
-   in TESTSUITE/aux-fixed/0471.rw
- lookup yielded: rwtest.example
+ random@test.example in "^.{40,}@*"?
+  list element: ^.{40,}@*
+  address match test: subject=random@test.example pattern=^.{40,}@*
+  compiled RE '^.{40,}@*' found in local cache
+ random@test.example in "^.{40,}@*"? no (end of list)
+ random@test.example in "*@*"?
+  list element: *@*
+  address match test: subject=random@test.example pattern=*@*
+  test.example in "*"?
+   list element: *
+   test.example in "*"? yes (matched "*")
+  random@test.example in "*@*"? yes (matched "*@*")
+  search_open: lsearch "TESTSUITE/aux-fixed/0471.rw"
+    cached open
+  search_find: file="TESTSUITE/aux-fixed/0471.rw"
+    key="test.example" partial=2 affix=*. starflags=0 opts=NULL
+  LRU list:
+    0TESTSUITE/aux-fixed/0471.rw
+    End
+  internal_search_find: file="TESTSUITE/aux-fixed/0471.rw"
+    type=lsearch key="test.example" opts=NULL
+  cached data used for lookup of test.example
+    in TESTSUITE/aux-fixed/0471.rw
+  lookup yielded: rwtest.example
 LOG: address_rewrite MAIN
-  "random@test.example" from to: rewritten as "random@rwtest.example" by rule 1
+  "random@test.example" from to: rewritten as "random@rwtest.example" by rule 2
 newlen=4115 newtype=T newtext:
 To: random@rwtest.example,
     random@rwtest.example,
@@ -6104,23 +6423,32 @@ remainder: random@test.example,
     random@test.example,
     random@test.exa
 **** debug string too long - truncated ****
-address match test: subject=random@test.example pattern=*@*
-test.example in "*"? yes (matched "*")
-random@test.example in "*@*"? yes (matched "*@*")
- search_open: lsearch "TESTSUITE/aux-fixed/0471.rw"
-   cached open
- search_find: file="TESTSUITE/aux-fixed/0471.rw"
-   key="test.example" partial=2 affix=*. starflags=0 opts=NULL
- LRU list:
-   0TESTSUITE/aux-fixed/0471.rw
-   End
- internal_search_find: file="TESTSUITE/aux-fixed/0471.rw"
-   type=lsearch key="test.example" opts=NULL
- cached data used for lookup of test.example
-   in TESTSUITE/aux-fixed/0471.rw
- lookup yielded: rwtest.example
+ random@test.example in "^.{40,}@*"?
+  list element: ^.{40,}@*
+  address match test: subject=random@test.example pattern=^.{40,}@*
+  compiled RE '^.{40,}@*' found in local cache
+ random@test.example in "^.{40,}@*"? no (end of list)
+ random@test.example in "*@*"?
+  list element: *@*
+  address match test: subject=random@test.example pattern=*@*
+  test.example in "*"?
+   list element: *
+   test.example in "*"? yes (matched "*")
+  random@test.example in "*@*"? yes (matched "*@*")
+  search_open: lsearch "TESTSUITE/aux-fixed/0471.rw"
+    cached open
+  search_find: file="TESTSUITE/aux-fixed/0471.rw"
+    key="test.example" partial=2 affix=*. starflags=0 opts=NULL
+  LRU list:
+    0TESTSUITE/aux-fixed/0471.rw
+    End
+  internal_search_find: file="TESTSUITE/aux-fixed/0471.rw"
+    type=lsearch key="test.example" opts=NULL
+  cached data used for lookup of test.example
+    in TESTSUITE/aux-fixed/0471.rw
+  lookup yielded: rwtest.example
 LOG: address_rewrite MAIN
-  "random@test.example" from to: rewritten as "random@rwtest.example" by rule 1
+  "random@test.example" from to: rewritten as "random@rwtest.example" by rule 2
 newlen=4117 newtype=T newtext:
 To: random@rwtest.example,
     random@rwtest.example,
@@ -6281,23 +6609,32 @@ remainder: random@test.example,
     random@test.example,
     random@test.exa
 **** debug string too long - truncated ****
-address match test: subject=random@test.example pattern=*@*
-test.example in "*"? yes (matched "*")
-random@test.example in "*@*"? yes (matched "*@*")
- search_open: lsearch "TESTSUITE/aux-fixed/0471.rw"
-   cached open
- search_find: file="TESTSUITE/aux-fixed/0471.rw"
-   key="test.example" partial=2 affix=*. starflags=0 opts=NULL
- LRU list:
-   0TESTSUITE/aux-fixed/0471.rw
-   End
- internal_search_find: file="TESTSUITE/aux-fixed/0471.rw"
-   type=lsearch key="test.example" opts=NULL
- cached data used for lookup of test.example
-   in TESTSUITE/aux-fixed/0471.rw
- lookup yielded: rwtest.example
+ random@test.example in "^.{40,}@*"?
+  list element: ^.{40,}@*
+  address match test: subject=random@test.example pattern=^.{40,}@*
+  compiled RE '^.{40,}@*' found in local cache
+ random@test.example in "^.{40,}@*"? no (end of list)
+ random@test.example in "*@*"?
+  list element: *@*
+  address match test: subject=random@test.example pattern=*@*
+  test.example in "*"?
+   list element: *
+   test.example in "*"? yes (matched "*")
+  random@test.example in "*@*"? yes (matched "*@*")
+  search_open: lsearch "TESTSUITE/aux-fixed/0471.rw"
+    cached open
+  search_find: file="TESTSUITE/aux-fixed/0471.rw"
+    key="test.example" partial=2 affix=*. starflags=0 opts=NULL
+  LRU list:
+    0TESTSUITE/aux-fixed/0471.rw
+    End
+  internal_search_find: file="TESTSUITE/aux-fixed/0471.rw"
+    type=lsearch key="test.example" opts=NULL
+  cached data used for lookup of test.example
+    in TESTSUITE/aux-fixed/0471.rw
+  lookup yielded: rwtest.example
 LOG: address_rewrite MAIN
-  "random@test.example" from to: rewritten as "random@rwtest.example" by rule 1
+  "random@test.example" from to: rewritten as "random@rwtest.example" by rule 2
 newlen=4119 newtype=T newtext:
 To: random@rwtest.example,
     random@rwtest.example,
@@ -6457,23 +6794,32 @@ remainder: random@test.example,
     random@test.example,
     random@test.exa
 **** debug string too long - truncated ****
-address match test: subject=random@test.example pattern=*@*
-test.example in "*"? yes (matched "*")
-random@test.example in "*@*"? yes (matched "*@*")
- search_open: lsearch "TESTSUITE/aux-fixed/0471.rw"
-   cached open
- search_find: file="TESTSUITE/aux-fixed/0471.rw"
-   key="test.example" partial=2 affix=*. starflags=0 opts=NULL
- LRU list:
-   0TESTSUITE/aux-fixed/0471.rw
-   End
- internal_search_find: file="TESTSUITE/aux-fixed/0471.rw"
-   type=lsearch key="test.example" opts=NULL
- cached data used for lookup of test.example
-   in TESTSUITE/aux-fixed/0471.rw
- lookup yielded: rwtest.example
+ random@test.example in "^.{40,}@*"?
+  list element: ^.{40,}@*
+  address match test: subject=random@test.example pattern=^.{40,}@*
+  compiled RE '^.{40,}@*' found in local cache
+ random@test.example in "^.{40,}@*"? no (end of list)
+ random@test.example in "*@*"?
+  list element: *@*
+  address match test: subject=random@test.example pattern=*@*
+  test.example in "*"?
+   list element: *
+   test.example in "*"? yes (matched "*")
+  random@test.example in "*@*"? yes (matched "*@*")
+  search_open: lsearch "TESTSUITE/aux-fixed/0471.rw"
+    cached open
+  search_find: file="TESTSUITE/aux-fixed/0471.rw"
+    key="test.example" partial=2 affix=*. starflags=0 opts=NULL
+  LRU list:
+    0TESTSUITE/aux-fixed/0471.rw
+    End
+  internal_search_find: file="TESTSUITE/aux-fixed/0471.rw"
+    type=lsearch key="test.example" opts=NULL
+  cached data used for lookup of test.example
+    in TESTSUITE/aux-fixed/0471.rw
+  lookup yielded: rwtest.example
 LOG: address_rewrite MAIN
-  "random@test.example" from to: rewritten as "random@rwtest.example" by rule 1
+  "random@test.example" from to: rewritten as "random@rwtest.example" by rule 2
 newlen=4121 newtype=T newtext:
 To: random@rwtest.example,
     random@rwtest.example,
@@ -6633,23 +6979,32 @@ remainder: random@test.example,
     random@test.example,
     random@test.exa
 **** debug string too long - truncated ****
-address match test: subject=random@test.example pattern=*@*
-test.example in "*"? yes (matched "*")
-random@test.example in "*@*"? yes (matched "*@*")
- search_open: lsearch "TESTSUITE/aux-fixed/0471.rw"
-   cached open
- search_find: file="TESTSUITE/aux-fixed/0471.rw"
-   key="test.example" partial=2 affix=*. starflags=0 opts=NULL
- LRU list:
-   0TESTSUITE/aux-fixed/0471.rw
-   End
- internal_search_find: file="TESTSUITE/aux-fixed/0471.rw"
-   type=lsearch key="test.example" opts=NULL
- cached data used for lookup of test.example
-   in TESTSUITE/aux-fixed/0471.rw
- lookup yielded: rwtest.example
+ random@test.example in "^.{40,}@*"?
+  list element: ^.{40,}@*
+  address match test: subject=random@test.example pattern=^.{40,}@*
+  compiled RE '^.{40,}@*' found in local cache
+ random@test.example in "^.{40,}@*"? no (end of list)
+ random@test.example in "*@*"?
+  list element: *@*
+  address match test: subject=random@test.example pattern=*@*
+  test.example in "*"?
+   list element: *
+   test.example in "*"? yes (matched "*")
+  random@test.example in "*@*"? yes (matched "*@*")
+  search_open: lsearch "TESTSUITE/aux-fixed/0471.rw"
+    cached open
+  search_find: file="TESTSUITE/aux-fixed/0471.rw"
+    key="test.example" partial=2 affix=*. starflags=0 opts=NULL
+  LRU list:
+    0TESTSUITE/aux-fixed/0471.rw
+    End
+  internal_search_find: file="TESTSUITE/aux-fixed/0471.rw"
+    type=lsearch key="test.example" opts=NULL
+  cached data used for lookup of test.example
+    in TESTSUITE/aux-fixed/0471.rw
+  lookup yielded: rwtest.example
 LOG: address_rewrite MAIN
-  "random@test.example" from to: rewritten as "random@rwtest.example" by rule 1
+  "random@test.example" from to: rewritten as "random@rwtest.example" by rule 2
 newlen=4123 newtype=T newtext:
 To: random@rwtest.example,
     random@rwtest.example,
@@ -6809,23 +7164,32 @@ remainder: random@test.example,
     random@test.example,
     random@test.exa
 **** debug string too long - truncated ****
-address match test: subject=random@test.example pattern=*@*
-test.example in "*"? yes (matched "*")
-random@test.example in "*@*"? yes (matched "*@*")
- search_open: lsearch "TESTSUITE/aux-fixed/0471.rw"
-   cached open
- search_find: file="TESTSUITE/aux-fixed/0471.rw"
-   key="test.example" partial=2 affix=*. starflags=0 opts=NULL
- LRU list:
-   0TESTSUITE/aux-fixed/0471.rw
-   End
- internal_search_find: file="TESTSUITE/aux-fixed/0471.rw"
-   type=lsearch key="test.example" opts=NULL
- cached data used for lookup of test.example
-   in TESTSUITE/aux-fixed/0471.rw
- lookup yielded: rwtest.example
+ random@test.example in "^.{40,}@*"?
+  list element: ^.{40,}@*
+  address match test: subject=random@test.example pattern=^.{40,}@*
+  compiled RE '^.{40,}@*' found in local cache
+ random@test.example in "^.{40,}@*"? no (end of list)
+ random@test.example in "*@*"?
+  list element: *@*
+  address match test: subject=random@test.example pattern=*@*
+  test.example in "*"?
+   list element: *
+   test.example in "*"? yes (matched "*")
+  random@test.example in "*@*"? yes (matched "*@*")
+  search_open: lsearch "TESTSUITE/aux-fixed/0471.rw"
+    cached open
+  search_find: file="TESTSUITE/aux-fixed/0471.rw"
+    key="test.example" partial=2 affix=*. starflags=0 opts=NULL
+  LRU list:
+    0TESTSUITE/aux-fixed/0471.rw
+    End
+  internal_search_find: file="TESTSUITE/aux-fixed/0471.rw"
+    type=lsearch key="test.example" opts=NULL
+  cached data used for lookup of test.example
+    in TESTSUITE/aux-fixed/0471.rw
+  lookup yielded: rwtest.example
 LOG: address_rewrite MAIN
-  "random@test.example" from to: rewritten as "random@rwtest.example" by rule 1
+  "random@test.example" from to: rewritten as "random@rwtest.example" by rule 2
 newlen=4125 newtype=T newtext:
 To: random@rwtest.example,
     random@rwtest.example,
@@ -6985,23 +7349,32 @@ remainder: random@test.example,
     random@test.example,
     random@test.exa
 **** debug string too long - truncated ****
-address match test: subject=random@test.example pattern=*@*
-test.example in "*"? yes (matched "*")
-random@test.example in "*@*"? yes (matched "*@*")
- search_open: lsearch "TESTSUITE/aux-fixed/0471.rw"
-   cached open
- search_find: file="TESTSUITE/aux-fixed/0471.rw"
-   key="test.example" partial=2 affix=*. starflags=0 opts=NULL
- LRU list:
-   0TESTSUITE/aux-fixed/0471.rw
-   End
- internal_search_find: file="TESTSUITE/aux-fixed/0471.rw"
-   type=lsearch key="test.example" opts=NULL
- cached data used for lookup of test.example
-   in TESTSUITE/aux-fixed/0471.rw
- lookup yielded: rwtest.example
+ random@test.example in "^.{40,}@*"?
+  list element: ^.{40,}@*
+  address match test: subject=random@test.example pattern=^.{40,}@*
+  compiled RE '^.{40,}@*' found in local cache
+ random@test.example in "^.{40,}@*"? no (end of list)
+ random@test.example in "*@*"?
+  list element: *@*
+  address match test: subject=random@test.example pattern=*@*
+  test.example in "*"?
+   list element: *
+   test.example in "*"? yes (matched "*")
+  random@test.example in "*@*"? yes (matched "*@*")
+  search_open: lsearch "TESTSUITE/aux-fixed/0471.rw"
+    cached open
+  search_find: file="TESTSUITE/aux-fixed/0471.rw"
+    key="test.example" partial=2 affix=*. starflags=0 opts=NULL
+  LRU list:
+    0TESTSUITE/aux-fixed/0471.rw
+    End
+  internal_search_find: file="TESTSUITE/aux-fixed/0471.rw"
+    type=lsearch key="test.example" opts=NULL
+  cached data used for lookup of test.example
+    in TESTSUITE/aux-fixed/0471.rw
+  lookup yielded: rwtest.example
 LOG: address_rewrite MAIN
-  "random@test.example" from to: rewritten as "random@rwtest.example" by rule 1
+  "random@test.example" from to: rewritten as "random@rwtest.example" by rule 2
 newlen=4127 newtype=T newtext:
 To: random@rwtest.example,
     random@rwtest.example,
@@ -7161,23 +7534,32 @@ remainder: random@test.example,
     random@test.example,
     random@test.exa
 **** debug string too long - truncated ****
-address match test: subject=random@test.example pattern=*@*
-test.example in "*"? yes (matched "*")
-random@test.example in "*@*"? yes (matched "*@*")
- search_open: lsearch "TESTSUITE/aux-fixed/0471.rw"
-   cached open
- search_find: file="TESTSUITE/aux-fixed/0471.rw"
-   key="test.example" partial=2 affix=*. starflags=0 opts=NULL
- LRU list:
-   0TESTSUITE/aux-fixed/0471.rw
-   End
- internal_search_find: file="TESTSUITE/aux-fixed/0471.rw"
-   type=lsearch key="test.example" opts=NULL
- cached data used for lookup of test.example
-   in TESTSUITE/aux-fixed/0471.rw
- lookup yielded: rwtest.example
+ random@test.example in "^.{40,}@*"?
+  list element: ^.{40,}@*
+  address match test: subject=random@test.example pattern=^.{40,}@*
+  compiled RE '^.{40,}@*' found in local cache
+ random@test.example in "^.{40,}@*"? no (end of list)
+ random@test.example in "*@*"?
+  list element: *@*
+  address match test: subject=random@test.example pattern=*@*
+  test.example in "*"?
+   list element: *
+   test.example in "*"? yes (matched "*")
+  random@test.example in "*@*"? yes (matched "*@*")
+  search_open: lsearch "TESTSUITE/aux-fixed/0471.rw"
+    cached open
+  search_find: file="TESTSUITE/aux-fixed/0471.rw"
+    key="test.example" partial=2 affix=*. starflags=0 opts=NULL
+  LRU list:
+    0TESTSUITE/aux-fixed/0471.rw
+    End
+  internal_search_find: file="TESTSUITE/aux-fixed/0471.rw"
+    type=lsearch key="test.example" opts=NULL
+  cached data used for lookup of test.example
+    in TESTSUITE/aux-fixed/0471.rw
+  lookup yielded: rwtest.example
 LOG: address_rewrite MAIN
-  "random@test.example" from to: rewritten as "random@rwtest.example" by rule 1
+  "random@test.example" from to: rewritten as "random@rwtest.example" by rule 2
 newlen=4129 newtype=T newtext:
 To: random@rwtest.example,
     random@rwtest.example,
@@ -7337,23 +7719,32 @@ remainder: random@test.example,
     random@test.example,
     random@test.exa
 **** debug string too long - truncated ****
-address match test: subject=random@test.example pattern=*@*
-test.example in "*"? yes (matched "*")
-random@test.example in "*@*"? yes (matched "*@*")
- search_open: lsearch "TESTSUITE/aux-fixed/0471.rw"
-   cached open
- search_find: file="TESTSUITE/aux-fixed/0471.rw"
-   key="test.example" partial=2 affix=*. starflags=0 opts=NULL
- LRU list:
-   0TESTSUITE/aux-fixed/0471.rw
-   End
- internal_search_find: file="TESTSUITE/aux-fixed/0471.rw"
-   type=lsearch key="test.example" opts=NULL
- cached data used for lookup of test.example
-   in TESTSUITE/aux-fixed/0471.rw
- lookup yielded: rwtest.example
+ random@test.example in "^.{40,}@*"?
+  list element: ^.{40,}@*
+  address match test: subject=random@test.example pattern=^.{40,}@*
+  compiled RE '^.{40,}@*' found in local cache
+ random@test.example in "^.{40,}@*"? no (end of list)
+ random@test.example in "*@*"?
+  list element: *@*
+  address match test: subject=random@test.example pattern=*@*
+  test.example in "*"?
+   list element: *
+   test.example in "*"? yes (matched "*")
+  random@test.example in "*@*"? yes (matched "*@*")
+  search_open: lsearch "TESTSUITE/aux-fixed/0471.rw"
+    cached open
+  search_find: file="TESTSUITE/aux-fixed/0471.rw"
+    key="test.example" partial=2 affix=*. starflags=0 opts=NULL
+  LRU list:
+    0TESTSUITE/aux-fixed/0471.rw
+    End
+  internal_search_find: file="TESTSUITE/aux-fixed/0471.rw"
+    type=lsearch key="test.example" opts=NULL
+  cached data used for lookup of test.example
+    in TESTSUITE/aux-fixed/0471.rw
+  lookup yielded: rwtest.example
 LOG: address_rewrite MAIN
-  "random@test.example" from to: rewritten as "random@rwtest.example" by rule 1
+  "random@test.example" from to: rewritten as "random@rwtest.example" by rule 2
 newlen=4131 newtype=T newtext:
 To: random@rwtest.example,
     random@rwtest.example,
@@ -7513,23 +7904,32 @@ remainder: random@test.example,
     random@test.example,
     random@test.exa
 **** debug string too long - truncated ****
-address match test: subject=random@test.example pattern=*@*
-test.example in "*"? yes (matched "*")
-random@test.example in "*@*"? yes (matched "*@*")
- search_open: lsearch "TESTSUITE/aux-fixed/0471.rw"
-   cached open
- search_find: file="TESTSUITE/aux-fixed/0471.rw"
-   key="test.example" partial=2 affix=*. starflags=0 opts=NULL
- LRU list:
-   0TESTSUITE/aux-fixed/0471.rw
-   End
- internal_search_find: file="TESTSUITE/aux-fixed/0471.rw"
-   type=lsearch key="test.example" opts=NULL
- cached data used for lookup of test.example
-   in TESTSUITE/aux-fixed/0471.rw
- lookup yielded: rwtest.example
+ random@test.example in "^.{40,}@*"?
+  list element: ^.{40,}@*
+  address match test: subject=random@test.example pattern=^.{40,}@*
+  compiled RE '^.{40,}@*' found in local cache
+ random@test.example in "^.{40,}@*"? no (end of list)
+ random@test.example in "*@*"?
+  list element: *@*
+  address match test: subject=random@test.example pattern=*@*
+  test.example in "*"?
+   list element: *
+   test.example in "*"? yes (matched "*")
+  random@test.example in "*@*"? yes (matched "*@*")
+  search_open: lsearch "TESTSUITE/aux-fixed/0471.rw"
+    cached open
+  search_find: file="TESTSUITE/aux-fixed/0471.rw"
+    key="test.example" partial=2 affix=*. starflags=0 opts=NULL
+  LRU list:
+    0TESTSUITE/aux-fixed/0471.rw
+    End
+  internal_search_find: file="TESTSUITE/aux-fixed/0471.rw"
+    type=lsearch key="test.example" opts=NULL
+  cached data used for lookup of test.example
+    in TESTSUITE/aux-fixed/0471.rw
+  lookup yielded: rwtest.example
 LOG: address_rewrite MAIN
-  "random@test.example" from to: rewritten as "random@rwtest.example" by rule 1
+  "random@test.example" from to: rewritten as "random@rwtest.example" by rule 2
 newlen=4133 newtype=T newtext:
 To: random@rwtest.example,
     random@rwtest.example,
@@ -7689,23 +8089,32 @@ remainder: random@test.example,
     random@test.example,
     random@test.exa
 **** debug string too long - truncated ****
-address match test: subject=random@test.example pattern=*@*
-test.example in "*"? yes (matched "*")
-random@test.example in "*@*"? yes (matched "*@*")
- search_open: lsearch "TESTSUITE/aux-fixed/0471.rw"
-   cached open
- search_find: file="TESTSUITE/aux-fixed/0471.rw"
-   key="test.example" partial=2 affix=*. starflags=0 opts=NULL
- LRU list:
-   0TESTSUITE/aux-fixed/0471.rw
-   End
- internal_search_find: file="TESTSUITE/aux-fixed/0471.rw"
-   type=lsearch key="test.example" opts=NULL
- cached data used for lookup of test.example
-   in TESTSUITE/aux-fixed/0471.rw
- lookup yielded: rwtest.example
+ random@test.example in "^.{40,}@*"?
+  list element: ^.{40,}@*
+  address match test: subject=random@test.example pattern=^.{40,}@*
+  compiled RE '^.{40,}@*' found in local cache
+ random@test.example in "^.{40,}@*"? no (end of list)
+ random@test.example in "*@*"?
+  list element: *@*
+  address match test: subject=random@test.example pattern=*@*
+  test.example in "*"?
+   list element: *
+   test.example in "*"? yes (matched "*")
+  random@test.example in "*@*"? yes (matched "*@*")
+  search_open: lsearch "TESTSUITE/aux-fixed/0471.rw"
+    cached open
+  search_find: file="TESTSUITE/aux-fixed/0471.rw"
+    key="test.example" partial=2 affix=*. starflags=0 opts=NULL
+  LRU list:
+    0TESTSUITE/aux-fixed/0471.rw
+    End
+  internal_search_find: file="TESTSUITE/aux-fixed/0471.rw"
+    type=lsearch key="test.example" opts=NULL
+  cached data used for lookup of test.example
+    in TESTSUITE/aux-fixed/0471.rw
+  lookup yielded: rwtest.example
 LOG: address_rewrite MAIN
-  "random@test.example" from to: rewritten as "random@rwtest.example" by rule 1
+  "random@test.example" from to: rewritten as "random@rwtest.example" by rule 2
 newlen=4135 newtype=T newtext:
 To: random@rwtest.example,
     random@rwtest.example,
@@ -7865,23 +8274,32 @@ remainder: random@test.example,
     random@test.example,
     random@test.exa
 **** debug string too long - truncated ****
-address match test: subject=random@test.example pattern=*@*
-test.example in "*"? yes (matched "*")
-random@test.example in "*@*"? yes (matched "*@*")
- search_open: lsearch "TESTSUITE/aux-fixed/0471.rw"
-   cached open
- search_find: file="TESTSUITE/aux-fixed/0471.rw"
-   key="test.example" partial=2 affix=*. starflags=0 opts=NULL
- LRU list:
-   0TESTSUITE/aux-fixed/0471.rw
-   End
- internal_search_find: file="TESTSUITE/aux-fixed/0471.rw"
-   type=lsearch key="test.example" opts=NULL
- cached data used for lookup of test.example
-   in TESTSUITE/aux-fixed/0471.rw
- lookup yielded: rwtest.example
+ random@test.example in "^.{40,}@*"?
+  list element: ^.{40,}@*
+  address match test: subject=random@test.example pattern=^.{40,}@*
+  compiled RE '^.{40,}@*' found in local cache
+ random@test.example in "^.{40,}@*"? no (end of list)
+ random@test.example in "*@*"?
+  list element: *@*
+  address match test: subject=random@test.example pattern=*@*
+  test.example in "*"?
+   list element: *
+   test.example in "*"? yes (matched "*")
+  random@test.example in "*@*"? yes (matched "*@*")
+  search_open: lsearch "TESTSUITE/aux-fixed/0471.rw"
+    cached open
+  search_find: file="TESTSUITE/aux-fixed/0471.rw"
+    key="test.example" partial=2 affix=*. starflags=0 opts=NULL
+  LRU list:
+    0TESTSUITE/aux-fixed/0471.rw
+    End
+  internal_search_find: file="TESTSUITE/aux-fixed/0471.rw"
+    type=lsearch key="test.example" opts=NULL
+  cached data used for lookup of test.example
+    in TESTSUITE/aux-fixed/0471.rw
+  lookup yielded: rwtest.example
 LOG: address_rewrite MAIN
-  "random@test.example" from to: rewritten as "random@rwtest.example" by rule 1
+  "random@test.example" from to: rewritten as "random@rwtest.example" by rule 2
 newlen=4137 newtype=T newtext:
 To: random@rwtest.example,
     random@rwtest.example,
@@ -8041,23 +8459,32 @@ remainder: random@test.example,
     random@test.example,
     random@test.exa
 **** debug string too long - truncated ****
-address match test: subject=random@test.example pattern=*@*
-test.example in "*"? yes (matched "*")
-random@test.example in "*@*"? yes (matched "*@*")
- search_open: lsearch "TESTSUITE/aux-fixed/0471.rw"
-   cached open
- search_find: file="TESTSUITE/aux-fixed/0471.rw"
-   key="test.example" partial=2 affix=*. starflags=0 opts=NULL
- LRU list:
-   0TESTSUITE/aux-fixed/0471.rw
-   End
- internal_search_find: file="TESTSUITE/aux-fixed/0471.rw"
-   type=lsearch key="test.example" opts=NULL
- cached data used for lookup of test.example
-   in TESTSUITE/aux-fixed/0471.rw
- lookup yielded: rwtest.example
+ random@test.example in "^.{40,}@*"?
+  list element: ^.{40,}@*
+  address match test: subject=random@test.example pattern=^.{40,}@*
+  compiled RE '^.{40,}@*' found in local cache
+ random@test.example in "^.{40,}@*"? no (end of list)
+ random@test.example in "*@*"?
+  list element: *@*
+  address match test: subject=random@test.example pattern=*@*
+  test.example in "*"?
+   list element: *
+   test.example in "*"? yes (matched "*")
+  random@test.example in "*@*"? yes (matched "*@*")
+  search_open: lsearch "TESTSUITE/aux-fixed/0471.rw"
+    cached open
+  search_find: file="TESTSUITE/aux-fixed/0471.rw"
+    key="test.example" partial=2 affix=*. starflags=0 opts=NULL
+  LRU list:
+    0TESTSUITE/aux-fixed/0471.rw
+    End
+  internal_search_find: file="TESTSUITE/aux-fixed/0471.rw"
+    type=lsearch key="test.example" opts=NULL
+  cached data used for lookup of test.example
+    in TESTSUITE/aux-fixed/0471.rw
+  lookup yielded: rwtest.example
 LOG: address_rewrite MAIN
-  "random@test.example" from to: rewritten as "random@rwtest.example" by rule 1
+  "random@test.example" from to: rewritten as "random@rwtest.example" by rule 2
 newlen=4139 newtype=T newtext:
 To: random@rwtest.example,
     random@rwtest.example,
@@ -8217,23 +8644,32 @@ remainder: random@test.example,
     random@test.example,
     random@test.exa
 **** debug string too long - truncated ****
-address match test: subject=random@test.example pattern=*@*
-test.example in "*"? yes (matched "*")
-random@test.example in "*@*"? yes (matched "*@*")
- search_open: lsearch "TESTSUITE/aux-fixed/0471.rw"
-   cached open
- search_find: file="TESTSUITE/aux-fixed/0471.rw"
-   key="test.example" partial=2 affix=*. starflags=0 opts=NULL
- LRU list:
-   0TESTSUITE/aux-fixed/0471.rw
-   End
- internal_search_find: file="TESTSUITE/aux-fixed/0471.rw"
-   type=lsearch key="test.example" opts=NULL
- cached data used for lookup of test.example
-   in TESTSUITE/aux-fixed/0471.rw
- lookup yielded: rwtest.example
+ random@test.example in "^.{40,}@*"?
+  list element: ^.{40,}@*
+  address match test: subject=random@test.example pattern=^.{40,}@*
+  compiled RE '^.{40,}@*' found in local cache
+ random@test.example in "^.{40,}@*"? no (end of list)
+ random@test.example in "*@*"?
+  list element: *@*
+  address match test: subject=random@test.example pattern=*@*
+  test.example in "*"?
+   list element: *
+   test.example in "*"? yes (matched "*")
+  random@test.example in "*@*"? yes (matched "*@*")
+  search_open: lsearch "TESTSUITE/aux-fixed/0471.rw"
+    cached open
+  search_find: file="TESTSUITE/aux-fixed/0471.rw"
+    key="test.example" partial=2 affix=*. starflags=0 opts=NULL
+  LRU list:
+    0TESTSUITE/aux-fixed/0471.rw
+    End
+  internal_search_find: file="TESTSUITE/aux-fixed/0471.rw"
+    type=lsearch key="test.example" opts=NULL
+  cached data used for lookup of test.example
+    in TESTSUITE/aux-fixed/0471.rw
+  lookup yielded: rwtest.example
 LOG: address_rewrite MAIN
-  "random@test.example" from to: rewritten as "random@rwtest.example" by rule 1
+  "random@test.example" from to: rewritten as "random@rwtest.example" by rule 2
 newlen=4141 newtype=T newtext:
 To: random@rwtest.example,
     random@rwtest.example,
@@ -8393,23 +8829,32 @@ remainder: random@test.example,
     random@test.example,
     random@test.exa
 **** debug string too long - truncated ****
-address match test: subject=random@test.example pattern=*@*
-test.example in "*"? yes (matched "*")
-random@test.example in "*@*"? yes (matched "*@*")
- search_open: lsearch "TESTSUITE/aux-fixed/0471.rw"
-   cached open
- search_find: file="TESTSUITE/aux-fixed/0471.rw"
-   key="test.example" partial=2 affix=*. starflags=0 opts=NULL
- LRU list:
-   0TESTSUITE/aux-fixed/0471.rw
-   End
- internal_search_find: file="TESTSUITE/aux-fixed/0471.rw"
-   type=lsearch key="test.example" opts=NULL
- cached data used for lookup of test.example
-   in TESTSUITE/aux-fixed/0471.rw
- lookup yielded: rwtest.example
+ random@test.example in "^.{40,}@*"?
+  list element: ^.{40,}@*
+  address match test: subject=random@test.example pattern=^.{40,}@*
+  compiled RE '^.{40,}@*' found in local cache
+ random@test.example in "^.{40,}@*"? no (end of list)
+ random@test.example in "*@*"?
+  list element: *@*
+  address match test: subject=random@test.example pattern=*@*
+  test.example in "*"?
+   list element: *
+   test.example in "*"? yes (matched "*")
+  random@test.example in "*@*"? yes (matched "*@*")
+  search_open: lsearch "TESTSUITE/aux-fixed/0471.rw"
+    cached open
+  search_find: file="TESTSUITE/aux-fixed/0471.rw"
+    key="test.example" partial=2 affix=*. starflags=0 opts=NULL
+  LRU list:
+    0TESTSUITE/aux-fixed/0471.rw
+    End
+  internal_search_find: file="TESTSUITE/aux-fixed/0471.rw"
+    type=lsearch key="test.example" opts=NULL
+  cached data used for lookup of test.example
+    in TESTSUITE/aux-fixed/0471.rw
+  lookup yielded: rwtest.example
 LOG: address_rewrite MAIN
-  "random@test.example" from to: rewritten as "random@rwtest.example" by rule 1
+  "random@test.example" from to: rewritten as "random@rwtest.example" by rule 2
 newlen=4143 newtype=T newtext:
 To: random@rwtest.example,
     random@rwtest.example,
@@ -8569,23 +9014,32 @@ remainder: random@test.example,
     random@test.example,
     random@test.exa
 **** debug string too long - truncated ****
-address match test: subject=random@test.example pattern=*@*
-test.example in "*"? yes (matched "*")
-random@test.example in "*@*"? yes (matched "*@*")
- search_open: lsearch "TESTSUITE/aux-fixed/0471.rw"
-   cached open
- search_find: file="TESTSUITE/aux-fixed/0471.rw"
-   key="test.example" partial=2 affix=*. starflags=0 opts=NULL
- LRU list:
-   0TESTSUITE/aux-fixed/0471.rw
-   End
- internal_search_find: file="TESTSUITE/aux-fixed/0471.rw"
-   type=lsearch key="test.example" opts=NULL
- cached data used for lookup of test.example
-   in TESTSUITE/aux-fixed/0471.rw
- lookup yielded: rwtest.example
+ random@test.example in "^.{40,}@*"?
+  list element: ^.{40,}@*
+  address match test: subject=random@test.example pattern=^.{40,}@*
+  compiled RE '^.{40,}@*' found in local cache
+ random@test.example in "^.{40,}@*"? no (end of list)
+ random@test.example in "*@*"?
+  list element: *@*
+  address match test: subject=random@test.example pattern=*@*
+  test.example in "*"?
+   list element: *
+   test.example in "*"? yes (matched "*")
+  random@test.example in "*@*"? yes (matched "*@*")
+  search_open: lsearch "TESTSUITE/aux-fixed/0471.rw"
+    cached open
+  search_find: file="TESTSUITE/aux-fixed/0471.rw"
+    key="test.example" partial=2 affix=*. starflags=0 opts=NULL
+  LRU list:
+    0TESTSUITE/aux-fixed/0471.rw
+    End
+  internal_search_find: file="TESTSUITE/aux-fixed/0471.rw"
+    type=lsearch key="test.example" opts=NULL
+  cached data used for lookup of test.example
+    in TESTSUITE/aux-fixed/0471.rw
+  lookup yielded: rwtest.example
 LOG: address_rewrite MAIN
-  "random@test.example" from to: rewritten as "random@rwtest.example" by rule 1
+  "random@test.example" from to: rewritten as "random@rwtest.example" by rule 2
 newlen=4145 newtype=T newtext:
 To: random@rwtest.example,
     random@rwtest.example,
@@ -8744,23 +9198,32 @@ remainder: random@test.example,
     random@test.example,
     random@test.exa
 **** debug string too long - truncated ****
-address match test: subject=random@test.example pattern=*@*
-test.example in "*"? yes (matched "*")
-random@test.example in "*@*"? yes (matched "*@*")
- search_open: lsearch "TESTSUITE/aux-fixed/0471.rw"
-   cached open
- search_find: file="TESTSUITE/aux-fixed/0471.rw"
-   key="test.example" partial=2 affix=*. starflags=0 opts=NULL
- LRU list:
-   0TESTSUITE/aux-fixed/0471.rw
-   End
- internal_search_find: file="TESTSUITE/aux-fixed/0471.rw"
-   type=lsearch key="test.example" opts=NULL
- cached data used for lookup of test.example
-   in TESTSUITE/aux-fixed/0471.rw
- lookup yielded: rwtest.example
+ random@test.example in "^.{40,}@*"?
+  list element: ^.{40,}@*
+  address match test: subject=random@test.example pattern=^.{40,}@*
+  compiled RE '^.{40,}@*' found in local cache
+ random@test.example in "^.{40,}@*"? no (end of list)
+ random@test.example in "*@*"?
+  list element: *@*
+  address match test: subject=random@test.example pattern=*@*
+  test.example in "*"?
+   list element: *
+   test.example in "*"? yes (matched "*")
+  random@test.example in "*@*"? yes (matched "*@*")
+  search_open: lsearch "TESTSUITE/aux-fixed/0471.rw"
+    cached open
+  search_find: file="TESTSUITE/aux-fixed/0471.rw"
+    key="test.example" partial=2 affix=*. starflags=0 opts=NULL
+  LRU list:
+    0TESTSUITE/aux-fixed/0471.rw
+    End
+  internal_search_find: file="TESTSUITE/aux-fixed/0471.rw"
+    type=lsearch key="test.example" opts=NULL
+  cached data used for lookup of test.example
+    in TESTSUITE/aux-fixed/0471.rw
+  lookup yielded: rwtest.example
 LOG: address_rewrite MAIN
-  "random@test.example" from to: rewritten as "random@rwtest.example" by rule 1
+  "random@test.example" from to: rewritten as "random@rwtest.example" by rule 2
 newlen=4147 newtype=T newtext:
 To: random@rwtest.example,
     random@rwtest.example,
@@ -8919,23 +9382,32 @@ remainder: random@test.example,
     random@test.example,
     random@test.exa
 **** debug string too long - truncated ****
-address match test: subject=random@test.example pattern=*@*
-test.example in "*"? yes (matched "*")
-random@test.example in "*@*"? yes (matched "*@*")
- search_open: lsearch "TESTSUITE/aux-fixed/0471.rw"
-   cached open
- search_find: file="TESTSUITE/aux-fixed/0471.rw"
-   key="test.example" partial=2 affix=*. starflags=0 opts=NULL
- LRU list:
-   0TESTSUITE/aux-fixed/0471.rw
-   End
- internal_search_find: file="TESTSUITE/aux-fixed/0471.rw"
-   type=lsearch key="test.example" opts=NULL
- cached data used for lookup of test.example
-   in TESTSUITE/aux-fixed/0471.rw
- lookup yielded: rwtest.example
+ random@test.example in "^.{40,}@*"?
+  list element: ^.{40,}@*
+  address match test: subject=random@test.example pattern=^.{40,}@*
+  compiled RE '^.{40,}@*' found in local cache
+ random@test.example in "^.{40,}@*"? no (end of list)
+ random@test.example in "*@*"?
+  list element: *@*
+  address match test: subject=random@test.example pattern=*@*
+  test.example in "*"?
+   list element: *
+   test.example in "*"? yes (matched "*")
+  random@test.example in "*@*"? yes (matched "*@*")
+  search_open: lsearch "TESTSUITE/aux-fixed/0471.rw"
+    cached open
+  search_find: file="TESTSUITE/aux-fixed/0471.rw"
+    key="test.example" partial=2 affix=*. starflags=0 opts=NULL
+  LRU list:
+    0TESTSUITE/aux-fixed/0471.rw
+    End
+  internal_search_find: file="TESTSUITE/aux-fixed/0471.rw"
+    type=lsearch key="test.example" opts=NULL
+  cached data used for lookup of test.example
+    in TESTSUITE/aux-fixed/0471.rw
+  lookup yielded: rwtest.example
 LOG: address_rewrite MAIN
-  "random@test.example" from to: rewritten as "random@rwtest.example" by rule 1
+  "random@test.example" from to: rewritten as "random@rwtest.example" by rule 2
 newlen=4149 newtype=T newtext:
 To: random@rwtest.example,
     random@rwtest.example,
@@ -9094,23 +9566,32 @@ remainder: random@test.example,
     random@test.example,
     random@test.exa
 **** debug string too long - truncated ****
-address match test: subject=random@test.example pattern=*@*
-test.example in "*"? yes (matched "*")
-random@test.example in "*@*"? yes (matched "*@*")
- search_open: lsearch "TESTSUITE/aux-fixed/0471.rw"
-   cached open
- search_find: file="TESTSUITE/aux-fixed/0471.rw"
-   key="test.example" partial=2 affix=*. starflags=0 opts=NULL
- LRU list:
-   0TESTSUITE/aux-fixed/0471.rw
-   End
- internal_search_find: file="TESTSUITE/aux-fixed/0471.rw"
-   type=lsearch key="test.example" opts=NULL
- cached data used for lookup of test.example
-   in TESTSUITE/aux-fixed/0471.rw
- lookup yielded: rwtest.example
+ random@test.example in "^.{40,}@*"?
+  list element: ^.{40,}@*
+  address match test: subject=random@test.example pattern=^.{40,}@*
+  compiled RE '^.{40,}@*' found in local cache
+ random@test.example in "^.{40,}@*"? no (end of list)
+ random@test.example in "*@*"?
+  list element: *@*
+  address match test: subject=random@test.example pattern=*@*
+  test.example in "*"?
+   list element: *
+   test.example in "*"? yes (matched "*")
+  random@test.example in "*@*"? yes (matched "*@*")
+  search_open: lsearch "TESTSUITE/aux-fixed/0471.rw"
+    cached open
+  search_find: file="TESTSUITE/aux-fixed/0471.rw"
+    key="test.example" partial=2 affix=*. starflags=0 opts=NULL
+  LRU list:
+    0TESTSUITE/aux-fixed/0471.rw
+    End
+  internal_search_find: file="TESTSUITE/aux-fixed/0471.rw"
+    type=lsearch key="test.example" opts=NULL
+  cached data used for lookup of test.example
+    in TESTSUITE/aux-fixed/0471.rw
+  lookup yielded: rwtest.example
 LOG: address_rewrite MAIN
-  "random@test.example" from to: rewritten as "random@rwtest.example" by rule 1
+  "random@test.example" from to: rewritten as "random@rwtest.example" by rule 2
 newlen=4151 newtype=T newtext:
 To: random@rwtest.example,
     random@rwtest.example,
@@ -9269,23 +9750,32 @@ remainder: random@test.example,
     random@test.example,
     random@test.exa
 **** debug string too long - truncated ****
-address match test: subject=random@test.example pattern=*@*
-test.example in "*"? yes (matched "*")
-random@test.example in "*@*"? yes (matched "*@*")
- search_open: lsearch "TESTSUITE/aux-fixed/0471.rw"
-   cached open
- search_find: file="TESTSUITE/aux-fixed/0471.rw"
-   key="test.example" partial=2 affix=*. starflags=0 opts=NULL
- LRU list:
-   0TESTSUITE/aux-fixed/0471.rw
-   End
- internal_search_find: file="TESTSUITE/aux-fixed/0471.rw"
-   type=lsearch key="test.example" opts=NULL
- cached data used for lookup of test.example
-   in TESTSUITE/aux-fixed/0471.rw
- lookup yielded: rwtest.example
+ random@test.example in "^.{40,}@*"?
+  list element: ^.{40,}@*
+  address match test: subject=random@test.example pattern=^.{40,}@*
+  compiled RE '^.{40,}@*' found in local cache
+ random@test.example in "^.{40,}@*"? no (end of list)
+ random@test.example in "*@*"?
+  list element: *@*
+  address match test: subject=random@test.example pattern=*@*
+  test.example in "*"?
+   list element: *
+   test.example in "*"? yes (matched "*")
+  random@test.example in "*@*"? yes (matched "*@*")
+  search_open: lsearch "TESTSUITE/aux-fixed/0471.rw"
+    cached open
+  search_find: file="TESTSUITE/aux-fixed/0471.rw"
+    key="test.example" partial=2 affix=*. starflags=0 opts=NULL
+  LRU list:
+    0TESTSUITE/aux-fixed/0471.rw
+    End
+  internal_search_find: file="TESTSUITE/aux-fixed/0471.rw"
+    type=lsearch key="test.example" opts=NULL
+  cached data used for lookup of test.example
+    in TESTSUITE/aux-fixed/0471.rw
+  lookup yielded: rwtest.example
 LOG: address_rewrite MAIN
-  "random@test.example" from to: rewritten as "random@rwtest.example" by rule 1
+  "random@test.example" from to: rewritten as "random@rwtest.example" by rule 2
 newlen=4153 newtype=T newtext:
 To: random@rwtest.example,
     random@rwtest.example,
@@ -9444,23 +9934,32 @@ remainder: random@test.example,
     random@test.example,
     random@test.exa
 **** debug string too long - truncated ****
-address match test: subject=random@test.example pattern=*@*
-test.example in "*"? yes (matched "*")
-random@test.example in "*@*"? yes (matched "*@*")
- search_open: lsearch "TESTSUITE/aux-fixed/0471.rw"
-   cached open
- search_find: file="TESTSUITE/aux-fixed/0471.rw"
-   key="test.example" partial=2 affix=*. starflags=0 opts=NULL
- LRU list:
-   0TESTSUITE/aux-fixed/0471.rw
-   End
- internal_search_find: file="TESTSUITE/aux-fixed/0471.rw"
-   type=lsearch key="test.example" opts=NULL
- cached data used for lookup of test.example
-   in TESTSUITE/aux-fixed/0471.rw
- lookup yielded: rwtest.example
+ random@test.example in "^.{40,}@*"?
+  list element: ^.{40,}@*
+  address match test: subject=random@test.example pattern=^.{40,}@*
+  compiled RE '^.{40,}@*' found in local cache
+ random@test.example in "^.{40,}@*"? no (end of list)
+ random@test.example in "*@*"?
+  list element: *@*
+  address match test: subject=random@test.example pattern=*@*
+  test.example in "*"?
+   list element: *
+   test.example in "*"? yes (matched "*")
+  random@test.example in "*@*"? yes (matched "*@*")
+  search_open: lsearch "TESTSUITE/aux-fixed/0471.rw"
+    cached open
+  search_find: file="TESTSUITE/aux-fixed/0471.rw"
+    key="test.example" partial=2 affix=*. starflags=0 opts=NULL
+  LRU list:
+    0TESTSUITE/aux-fixed/0471.rw
+    End
+  internal_search_find: file="TESTSUITE/aux-fixed/0471.rw"
+    type=lsearch key="test.example" opts=NULL
+  cached data used for lookup of test.example
+    in TESTSUITE/aux-fixed/0471.rw
+  lookup yielded: rwtest.example
 LOG: address_rewrite MAIN
-  "random@test.example" from to: rewritten as "random@rwtest.example" by rule 1
+  "random@test.example" from to: rewritten as "random@rwtest.example" by rule 2
 newlen=4155 newtype=T newtext:
 To: random@rwtest.example,
     random@rwtest.example,
@@ -9619,23 +10118,32 @@ remainder: random@test.example,
     random@test.example,
     random@test.exa
 **** debug string too long - truncated ****
-address match test: subject=random@test.example pattern=*@*
-test.example in "*"? yes (matched "*")
-random@test.example in "*@*"? yes (matched "*@*")
- search_open: lsearch "TESTSUITE/aux-fixed/0471.rw"
-   cached open
- search_find: file="TESTSUITE/aux-fixed/0471.rw"
-   key="test.example" partial=2 affix=*. starflags=0 opts=NULL
- LRU list:
-   0TESTSUITE/aux-fixed/0471.rw
-   End
- internal_search_find: file="TESTSUITE/aux-fixed/0471.rw"
-   type=lsearch key="test.example" opts=NULL
- cached data used for lookup of test.example
-   in TESTSUITE/aux-fixed/0471.rw
- lookup yielded: rwtest.example
+ random@test.example in "^.{40,}@*"?
+  list element: ^.{40,}@*
+  address match test: subject=random@test.example pattern=^.{40,}@*
+  compiled RE '^.{40,}@*' found in local cache
+ random@test.example in "^.{40,}@*"? no (end of list)
+ random@test.example in "*@*"?
+  list element: *@*
+  address match test: subject=random@test.example pattern=*@*
+  test.example in "*"?
+   list element: *
+   test.example in "*"? yes (matched "*")
+  random@test.example in "*@*"? yes (matched "*@*")
+  search_open: lsearch "TESTSUITE/aux-fixed/0471.rw"
+    cached open
+  search_find: file="TESTSUITE/aux-fixed/0471.rw"
+    key="test.example" partial=2 affix=*. starflags=0 opts=NULL
+  LRU list:
+    0TESTSUITE/aux-fixed/0471.rw
+    End
+  internal_search_find: file="TESTSUITE/aux-fixed/0471.rw"
+    type=lsearch key="test.example" opts=NULL
+  cached data used for lookup of test.example
+    in TESTSUITE/aux-fixed/0471.rw
+  lookup yielded: rwtest.example
 LOG: address_rewrite MAIN
-  "random@test.example" from to: rewritten as "random@rwtest.example" by rule 1
+  "random@test.example" from to: rewritten as "random@rwtest.example" by rule 2
 newlen=4157 newtype=T newtext:
 To: random@rwtest.example,
     random@rwtest.example,
@@ -9794,23 +10302,32 @@ remainder: random@test.example,
     random@test.example,
     random@test.exa
 **** debug string too long - truncated ****
-address match test: subject=random@test.example pattern=*@*
-test.example in "*"? yes (matched "*")
-random@test.example in "*@*"? yes (matched "*@*")
- search_open: lsearch "TESTSUITE/aux-fixed/0471.rw"
-   cached open
- search_find: file="TESTSUITE/aux-fixed/0471.rw"
-   key="test.example" partial=2 affix=*. starflags=0 opts=NULL
- LRU list:
-   0TESTSUITE/aux-fixed/0471.rw
-   End
- internal_search_find: file="TESTSUITE/aux-fixed/0471.rw"
-   type=lsearch key="test.example" opts=NULL
- cached data used for lookup of test.example
-   in TESTSUITE/aux-fixed/0471.rw
- lookup yielded: rwtest.example
+ random@test.example in "^.{40,}@*"?
+  list element: ^.{40,}@*
+  address match test: subject=random@test.example pattern=^.{40,}@*
+  compiled RE '^.{40,}@*' found in local cache
+ random@test.example in "^.{40,}@*"? no (end of list)
+ random@test.example in "*@*"?
+  list element: *@*
+  address match test: subject=random@test.example pattern=*@*
+  test.example in "*"?
+   list element: *
+   test.example in "*"? yes (matched "*")
+  random@test.example in "*@*"? yes (matched "*@*")
+  search_open: lsearch "TESTSUITE/aux-fixed/0471.rw"
+    cached open
+  search_find: file="TESTSUITE/aux-fixed/0471.rw"
+    key="test.example" partial=2 affix=*. starflags=0 opts=NULL
+  LRU list:
+    0TESTSUITE/aux-fixed/0471.rw
+    End
+  internal_search_find: file="TESTSUITE/aux-fixed/0471.rw"
+    type=lsearch key="test.example" opts=NULL
+  cached data used for lookup of test.example
+    in TESTSUITE/aux-fixed/0471.rw
+  lookup yielded: rwtest.example
 LOG: address_rewrite MAIN
-  "random@test.example" from to: rewritten as "random@rwtest.example" by rule 1
+  "random@test.example" from to: rewritten as "random@rwtest.example" by rule 2
 newlen=4159 newtype=T newtext:
 To: random@rwtest.example,
     random@rwtest.example,
@@ -9969,23 +10486,32 @@ remainder: random@test.example,
     random@test.example,
     random@test.exa
 **** debug string too long - truncated ****
-address match test: subject=random@test.example pattern=*@*
-test.example in "*"? yes (matched "*")
-random@test.example in "*@*"? yes (matched "*@*")
- search_open: lsearch "TESTSUITE/aux-fixed/0471.rw"
-   cached open
- search_find: file="TESTSUITE/aux-fixed/0471.rw"
-   key="test.example" partial=2 affix=*. starflags=0 opts=NULL
- LRU list:
-   0TESTSUITE/aux-fixed/0471.rw
-   End
- internal_search_find: file="TESTSUITE/aux-fixed/0471.rw"
-   type=lsearch key="test.example" opts=NULL
- cached data used for lookup of test.example
-   in TESTSUITE/aux-fixed/0471.rw
- lookup yielded: rwtest.example
+ random@test.example in "^.{40,}@*"?
+  list element: ^.{40,}@*
+  address match test: subject=random@test.example pattern=^.{40,}@*
+  compiled RE '^.{40,}@*' found in local cache
+ random@test.example in "^.{40,}@*"? no (end of list)
+ random@test.example in "*@*"?
+  list element: *@*
+  address match test: subject=random@test.example pattern=*@*
+  test.example in "*"?
+   list element: *
+   test.example in "*"? yes (matched "*")
+  random@test.example in "*@*"? yes (matched "*@*")
+  search_open: lsearch "TESTSUITE/aux-fixed/0471.rw"
+    cached open
+  search_find: file="TESTSUITE/aux-fixed/0471.rw"
+    key="test.example" partial=2 affix=*. starflags=0 opts=NULL
+  LRU list:
+    0TESTSUITE/aux-fixed/0471.rw
+    End
+  internal_search_find: file="TESTSUITE/aux-fixed/0471.rw"
+    type=lsearch key="test.example" opts=NULL
+  cached data used for lookup of test.example
+    in TESTSUITE/aux-fixed/0471.rw
+  lookup yielded: rwtest.example
 LOG: address_rewrite MAIN
-  "random@test.example" from to: rewritten as "random@rwtest.example" by rule 1
+  "random@test.example" from to: rewritten as "random@rwtest.example" by rule 2
 newlen=4161 newtype=T newtext:
 To: random@rwtest.example,
     random@rwtest.example,
@@ -10144,23 +10670,32 @@ remainder: random@test.example,
     random@test.example,
     random@test.exa
 **** debug string too long - truncated ****
-address match test: subject=random@test.example pattern=*@*
-test.example in "*"? yes (matched "*")
-random@test.example in "*@*"? yes (matched "*@*")
- search_open: lsearch "TESTSUITE/aux-fixed/0471.rw"
-   cached open
- search_find: file="TESTSUITE/aux-fixed/0471.rw"
-   key="test.example" partial=2 affix=*. starflags=0 opts=NULL
- LRU list:
-   0TESTSUITE/aux-fixed/0471.rw
-   End
- internal_search_find: file="TESTSUITE/aux-fixed/0471.rw"
-   type=lsearch key="test.example" opts=NULL
- cached data used for lookup of test.example
-   in TESTSUITE/aux-fixed/0471.rw
- lookup yielded: rwtest.example
+ random@test.example in "^.{40,}@*"?
+  list element: ^.{40,}@*
+  address match test: subject=random@test.example pattern=^.{40,}@*
+  compiled RE '^.{40,}@*' found in local cache
+ random@test.example in "^.{40,}@*"? no (end of list)
+ random@test.example in "*@*"?
+  list element: *@*
+  address match test: subject=random@test.example pattern=*@*
+  test.example in "*"?
+   list element: *
+   test.example in "*"? yes (matched "*")
+  random@test.example in "*@*"? yes (matched "*@*")
+  search_open: lsearch "TESTSUITE/aux-fixed/0471.rw"
+    cached open
+  search_find: file="TESTSUITE/aux-fixed/0471.rw"
+    key="test.example" partial=2 affix=*. starflags=0 opts=NULL
+  LRU list:
+    0TESTSUITE/aux-fixed/0471.rw
+    End
+  internal_search_find: file="TESTSUITE/aux-fixed/0471.rw"
+    type=lsearch key="test.example" opts=NULL
+  cached data used for lookup of test.example
+    in TESTSUITE/aux-fixed/0471.rw
+  lookup yielded: rwtest.example
 LOG: address_rewrite MAIN
-  "random@test.example" from to: rewritten as "random@rwtest.example" by rule 1
+  "random@test.example" from to: rewritten as "random@rwtest.example" by rule 2
 newlen=4163 newtype=T newtext:
 To: random@rwtest.example,
     random@rwtest.example,
@@ -10319,23 +10854,32 @@ remainder: random@test.example,
     random@test.example,
     random@test.exa
 **** debug string too long - truncated ****
-address match test: subject=random@test.example pattern=*@*
-test.example in "*"? yes (matched "*")
-random@test.example in "*@*"? yes (matched "*@*")
- search_open: lsearch "TESTSUITE/aux-fixed/0471.rw"
-   cached open
- search_find: file="TESTSUITE/aux-fixed/0471.rw"
-   key="test.example" partial=2 affix=*. starflags=0 opts=NULL
- LRU list:
-   0TESTSUITE/aux-fixed/0471.rw
-   End
- internal_search_find: file="TESTSUITE/aux-fixed/0471.rw"
-   type=lsearch key="test.example" opts=NULL
- cached data used for lookup of test.example
-   in TESTSUITE/aux-fixed/0471.rw
- lookup yielded: rwtest.example
+ random@test.example in "^.{40,}@*"?
+  list element: ^.{40,}@*
+  address match test: subject=random@test.example pattern=^.{40,}@*
+  compiled RE '^.{40,}@*' found in local cache
+ random@test.example in "^.{40,}@*"? no (end of list)
+ random@test.example in "*@*"?
+  list element: *@*
+  address match test: subject=random@test.example pattern=*@*
+  test.example in "*"?
+   list element: *
+   test.example in "*"? yes (matched "*")
+  random@test.example in "*@*"? yes (matched "*@*")
+  search_open: lsearch "TESTSUITE/aux-fixed/0471.rw"
+    cached open
+  search_find: file="TESTSUITE/aux-fixed/0471.rw"
+    key="test.example" partial=2 affix=*. starflags=0 opts=NULL
+  LRU list:
+    0TESTSUITE/aux-fixed/0471.rw
+    End
+  internal_search_find: file="TESTSUITE/aux-fixed/0471.rw"
+    type=lsearch key="test.example" opts=NULL
+  cached data used for lookup of test.example
+    in TESTSUITE/aux-fixed/0471.rw
+  lookup yielded: rwtest.example
 LOG: address_rewrite MAIN
-  "random@test.example" from to: rewritten as "random@rwtest.example" by rule 1
+  "random@test.example" from to: rewritten as "random@rwtest.example" by rule 2
 newlen=4165 newtype=T newtext:
 To: random@rwtest.example,
     random@rwtest.example,
@@ -10494,23 +11038,32 @@ remainder: random@test.example,
     random@test.example,
     random@test.exa
 **** debug string too long - truncated ****
-address match test: subject=random@test.example pattern=*@*
-test.example in "*"? yes (matched "*")
-random@test.example in "*@*"? yes (matched "*@*")
- search_open: lsearch "TESTSUITE/aux-fixed/0471.rw"
-   cached open
- search_find: file="TESTSUITE/aux-fixed/0471.rw"
-   key="test.example" partial=2 affix=*. starflags=0 opts=NULL
- LRU list:
-   0TESTSUITE/aux-fixed/0471.rw
-   End
- internal_search_find: file="TESTSUITE/aux-fixed/0471.rw"
-   type=lsearch key="test.example" opts=NULL
- cached data used for lookup of test.example
-   in TESTSUITE/aux-fixed/0471.rw
- lookup yielded: rwtest.example
+ random@test.example in "^.{40,}@*"?
+  list element: ^.{40,}@*
+  address match test: subject=random@test.example pattern=^.{40,}@*
+  compiled RE '^.{40,}@*' found in local cache
+ random@test.example in "^.{40,}@*"? no (end of list)
+ random@test.example in "*@*"?
+  list element: *@*
+  address match test: subject=random@test.example pattern=*@*
+  test.example in "*"?
+   list element: *
+   test.example in "*"? yes (matched "*")
+  random@test.example in "*@*"? yes (matched "*@*")
+  search_open: lsearch "TESTSUITE/aux-fixed/0471.rw"
+    cached open
+  search_find: file="TESTSUITE/aux-fixed/0471.rw"
+    key="test.example" partial=2 affix=*. starflags=0 opts=NULL
+  LRU list:
+    0TESTSUITE/aux-fixed/0471.rw
+    End
+  internal_search_find: file="TESTSUITE/aux-fixed/0471.rw"
+    type=lsearch key="test.example" opts=NULL
+  cached data used for lookup of test.example
+    in TESTSUITE/aux-fixed/0471.rw
+  lookup yielded: rwtest.example
 LOG: address_rewrite MAIN
-  "random@test.example" from to: rewritten as "random@rwtest.example" by rule 1
+  "random@test.example" from to: rewritten as "random@rwtest.example" by rule 2
 newlen=4167 newtype=T newtext:
 To: random@rwtest.example,
     random@rwtest.example,
@@ -10669,23 +11222,32 @@ remainder: random@test.example,
     random@test.example,
     random@test.exa
 **** debug string too long - truncated ****
-address match test: subject=random@test.example pattern=*@*
-test.example in "*"? yes (matched "*")
-random@test.example in "*@*"? yes (matched "*@*")
- search_open: lsearch "TESTSUITE/aux-fixed/0471.rw"
-   cached open
- search_find: file="TESTSUITE/aux-fixed/0471.rw"
-   key="test.example" partial=2 affix=*. starflags=0 opts=NULL
- LRU list:
-   0TESTSUITE/aux-fixed/0471.rw
-   End
- internal_search_find: file="TESTSUITE/aux-fixed/0471.rw"
-   type=lsearch key="test.example" opts=NULL
- cached data used for lookup of test.example
-   in TESTSUITE/aux-fixed/0471.rw
- lookup yielded: rwtest.example
+ random@test.example in "^.{40,}@*"?
+  list element: ^.{40,}@*
+  address match test: subject=random@test.example pattern=^.{40,}@*
+  compiled RE '^.{40,}@*' found in local cache
+ random@test.example in "^.{40,}@*"? no (end of list)
+ random@test.example in "*@*"?
+  list element: *@*
+  address match test: subject=random@test.example pattern=*@*
+  test.example in "*"?
+   list element: *
+   test.example in "*"? yes (matched "*")
+  random@test.example in "*@*"? yes (matched "*@*")
+  search_open: lsearch "TESTSUITE/aux-fixed/0471.rw"
+    cached open
+  search_find: file="TESTSUITE/aux-fixed/0471.rw"
+    key="test.example" partial=2 affix=*. starflags=0 opts=NULL
+  LRU list:
+    0TESTSUITE/aux-fixed/0471.rw
+    End
+  internal_search_find: file="TESTSUITE/aux-fixed/0471.rw"
+    type=lsearch key="test.example" opts=NULL
+  cached data used for lookup of test.example
+    in TESTSUITE/aux-fixed/0471.rw
+  lookup yielded: rwtest.example
 LOG: address_rewrite MAIN
-  "random@test.example" from to: rewritten as "random@rwtest.example" by rule 1
+  "random@test.example" from to: rewritten as "random@rwtest.example" by rule 2
 newlen=4169 newtype=T newtext:
 To: random@rwtest.example,
     random@rwtest.example,
@@ -10843,23 +11405,32 @@ remainder: random@test.example,
     random@test.example,
     random@test.exa
 **** debug string too long - truncated ****
-address match test: subject=random@test.example pattern=*@*
-test.example in "*"? yes (matched "*")
-random@test.example in "*@*"? yes (matched "*@*")
- search_open: lsearch "TESTSUITE/aux-fixed/0471.rw"
-   cached open
- search_find: file="TESTSUITE/aux-fixed/0471.rw"
-   key="test.example" partial=2 affix=*. starflags=0 opts=NULL
- LRU list:
-   0TESTSUITE/aux-fixed/0471.rw
-   End
- internal_search_find: file="TESTSUITE/aux-fixed/0471.rw"
-   type=lsearch key="test.example" opts=NULL
- cached data used for lookup of test.example
-   in TESTSUITE/aux-fixed/0471.rw
- lookup yielded: rwtest.example
+ random@test.example in "^.{40,}@*"?
+  list element: ^.{40,}@*
+  address match test: subject=random@test.example pattern=^.{40,}@*
+  compiled RE '^.{40,}@*' found in local cache
+ random@test.example in "^.{40,}@*"? no (end of list)
+ random@test.example in "*@*"?
+  list element: *@*
+  address match test: subject=random@test.example pattern=*@*
+  test.example in "*"?
+   list element: *
+   test.example in "*"? yes (matched "*")
+  random@test.example in "*@*"? yes (matched "*@*")
+  search_open: lsearch "TESTSUITE/aux-fixed/0471.rw"
+    cached open
+  search_find: file="TESTSUITE/aux-fixed/0471.rw"
+    key="test.example" partial=2 affix=*. starflags=0 opts=NULL
+  LRU list:
+    0TESTSUITE/aux-fixed/0471.rw
+    End
+  internal_search_find: file="TESTSUITE/aux-fixed/0471.rw"
+    type=lsearch key="test.example" opts=NULL
+  cached data used for lookup of test.example
+    in TESTSUITE/aux-fixed/0471.rw
+  lookup yielded: rwtest.example
 LOG: address_rewrite MAIN
-  "random@test.example" from to: rewritten as "random@rwtest.example" by rule 1
+  "random@test.example" from to: rewritten as "random@rwtest.example" by rule 2
 newlen=4171 newtype=T newtext:
 To: random@rwtest.example,
     random@rwtest.example,
@@ -11017,23 +11588,32 @@ remainder: random@test.example,
     random@test.example,
     random@test.exa
 **** debug string too long - truncated ****
-address match test: subject=random@test.example pattern=*@*
-test.example in "*"? yes (matched "*")
-random@test.example in "*@*"? yes (matched "*@*")
- search_open: lsearch "TESTSUITE/aux-fixed/0471.rw"
-   cached open
- search_find: file="TESTSUITE/aux-fixed/0471.rw"
-   key="test.example" partial=2 affix=*. starflags=0 opts=NULL
- LRU list:
-   0TESTSUITE/aux-fixed/0471.rw
-   End
- internal_search_find: file="TESTSUITE/aux-fixed/0471.rw"
-   type=lsearch key="test.example" opts=NULL
- cached data used for lookup of test.example
-   in TESTSUITE/aux-fixed/0471.rw
- lookup yielded: rwtest.example
+ random@test.example in "^.{40,}@*"?
+  list element: ^.{40,}@*
+  address match test: subject=random@test.example pattern=^.{40,}@*
+  compiled RE '^.{40,}@*' found in local cache
+ random@test.example in "^.{40,}@*"? no (end of list)
+ random@test.example in "*@*"?
+  list element: *@*
+  address match test: subject=random@test.example pattern=*@*
+  test.example in "*"?
+   list element: *
+   test.example in "*"? yes (matched "*")
+  random@test.example in "*@*"? yes (matched "*@*")
+  search_open: lsearch "TESTSUITE/aux-fixed/0471.rw"
+    cached open
+  search_find: file="TESTSUITE/aux-fixed/0471.rw"
+    key="test.example" partial=2 affix=*. starflags=0 opts=NULL
+  LRU list:
+    0TESTSUITE/aux-fixed/0471.rw
+    End
+  internal_search_find: file="TESTSUITE/aux-fixed/0471.rw"
+    type=lsearch key="test.example" opts=NULL
+  cached data used for lookup of test.example
+    in TESTSUITE/aux-fixed/0471.rw
+  lookup yielded: rwtest.example
 LOG: address_rewrite MAIN
-  "random@test.example" from to: rewritten as "random@rwtest.example" by rule 1
+  "random@test.example" from to: rewritten as "random@rwtest.example" by rule 2
 newlen=4173 newtype=T newtext:
 To: random@rwtest.example,
     random@rwtest.example,
@@ -11191,23 +11771,32 @@ remainder: random@test.example,
     random@test.example,
     random@test.exa
 **** debug string too long - truncated ****
-address match test: subject=random@test.example pattern=*@*
-test.example in "*"? yes (matched "*")
-random@test.example in "*@*"? yes (matched "*@*")
- search_open: lsearch "TESTSUITE/aux-fixed/0471.rw"
-   cached open
- search_find: file="TESTSUITE/aux-fixed/0471.rw"
-   key="test.example" partial=2 affix=*. starflags=0 opts=NULL
- LRU list:
-   0TESTSUITE/aux-fixed/0471.rw
-   End
- internal_search_find: file="TESTSUITE/aux-fixed/0471.rw"
-   type=lsearch key="test.example" opts=NULL
- cached data used for lookup of test.example
-   in TESTSUITE/aux-fixed/0471.rw
- lookup yielded: rwtest.example
+ random@test.example in "^.{40,}@*"?
+  list element: ^.{40,}@*
+  address match test: subject=random@test.example pattern=^.{40,}@*
+  compiled RE '^.{40,}@*' found in local cache
+ random@test.example in "^.{40,}@*"? no (end of list)
+ random@test.example in "*@*"?
+  list element: *@*
+  address match test: subject=random@test.example pattern=*@*
+  test.example in "*"?
+   list element: *
+   test.example in "*"? yes (matched "*")
+  random@test.example in "*@*"? yes (matched "*@*")
+  search_open: lsearch "TESTSUITE/aux-fixed/0471.rw"
+    cached open
+  search_find: file="TESTSUITE/aux-fixed/0471.rw"
+    key="test.example" partial=2 affix=*. starflags=0 opts=NULL
+  LRU list:
+    0TESTSUITE/aux-fixed/0471.rw
+    End
+  internal_search_find: file="TESTSUITE/aux-fixed/0471.rw"
+    type=lsearch key="test.example" opts=NULL
+  cached data used for lookup of test.example
+    in TESTSUITE/aux-fixed/0471.rw
+  lookup yielded: rwtest.example
 LOG: address_rewrite MAIN
-  "random@test.example" from to: rewritten as "random@rwtest.example" by rule 1
+  "random@test.example" from to: rewritten as "random@rwtest.example" by rule 2
 newlen=4175 newtype=T newtext:
 To: random@rwtest.example,
     random@rwtest.example,
@@ -11365,23 +11954,32 @@ remainder: random@test.example,
     random@test.example,
     random@test.exa
 **** debug string too long - truncated ****
-address match test: subject=random@test.example pattern=*@*
-test.example in "*"? yes (matched "*")
-random@test.example in "*@*"? yes (matched "*@*")
- search_open: lsearch "TESTSUITE/aux-fixed/0471.rw"
-   cached open
- search_find: file="TESTSUITE/aux-fixed/0471.rw"
-   key="test.example" partial=2 affix=*. starflags=0 opts=NULL
- LRU list:
-   0TESTSUITE/aux-fixed/0471.rw
-   End
- internal_search_find: file="TESTSUITE/aux-fixed/0471.rw"
-   type=lsearch key="test.example" opts=NULL
- cached data used for lookup of test.example
-   in TESTSUITE/aux-fixed/0471.rw
- lookup yielded: rwtest.example
+ random@test.example in "^.{40,}@*"?
+  list element: ^.{40,}@*
+  address match test: subject=random@test.example pattern=^.{40,}@*
+  compiled RE '^.{40,}@*' found in local cache
+ random@test.example in "^.{40,}@*"? no (end of list)
+ random@test.example in "*@*"?
+  list element: *@*
+  address match test: subject=random@test.example pattern=*@*
+  test.example in "*"?
+   list element: *
+   test.example in "*"? yes (matched "*")
+  random@test.example in "*@*"? yes (matched "*@*")
+  search_open: lsearch "TESTSUITE/aux-fixed/0471.rw"
+    cached open
+  search_find: file="TESTSUITE/aux-fixed/0471.rw"
+    key="test.example" partial=2 affix=*. starflags=0 opts=NULL
+  LRU list:
+    0TESTSUITE/aux-fixed/0471.rw
+    End
+  internal_search_find: file="TESTSUITE/aux-fixed/0471.rw"
+    type=lsearch key="test.example" opts=NULL
+  cached data used for lookup of test.example
+    in TESTSUITE/aux-fixed/0471.rw
+  lookup yielded: rwtest.example
 LOG: address_rewrite MAIN
-  "random@test.example" from to: rewritten as "random@rwtest.example" by rule 1
+  "random@test.example" from to: rewritten as "random@rwtest.example" by rule 2
 newlen=4177 newtype=T newtext:
 To: random@rwtest.example,
     random@rwtest.example,
@@ -11539,23 +12137,32 @@ remainder: random@test.example,
     random@test.example,
     random@test.exa
 **** debug string too long - truncated ****
-address match test: subject=random@test.example pattern=*@*
-test.example in "*"? yes (matched "*")
-random@test.example in "*@*"? yes (matched "*@*")
- search_open: lsearch "TESTSUITE/aux-fixed/0471.rw"
-   cached open
- search_find: file="TESTSUITE/aux-fixed/0471.rw"
-   key="test.example" partial=2 affix=*. starflags=0 opts=NULL
- LRU list:
-   0TESTSUITE/aux-fixed/0471.rw
-   End
- internal_search_find: file="TESTSUITE/aux-fixed/0471.rw"
-   type=lsearch key="test.example" opts=NULL
- cached data used for lookup of test.example
-   in TESTSUITE/aux-fixed/0471.rw
- lookup yielded: rwtest.example
+ random@test.example in "^.{40,}@*"?
+  list element: ^.{40,}@*
+  address match test: subject=random@test.example pattern=^.{40,}@*
+  compiled RE '^.{40,}@*' found in local cache
+ random@test.example in "^.{40,}@*"? no (end of list)
+ random@test.example in "*@*"?
+  list element: *@*
+  address match test: subject=random@test.example pattern=*@*
+  test.example in "*"?
+   list element: *
+   test.example in "*"? yes (matched "*")
+  random@test.example in "*@*"? yes (matched "*@*")
+  search_open: lsearch "TESTSUITE/aux-fixed/0471.rw"
+    cached open
+  search_find: file="TESTSUITE/aux-fixed/0471.rw"
+    key="test.example" partial=2 affix=*. starflags=0 opts=NULL
+  LRU list:
+    0TESTSUITE/aux-fixed/0471.rw
+    End
+  internal_search_find: file="TESTSUITE/aux-fixed/0471.rw"
+    type=lsearch key="test.example" opts=NULL
+  cached data used for lookup of test.example
+    in TESTSUITE/aux-fixed/0471.rw
+  lookup yielded: rwtest.example
 LOG: address_rewrite MAIN
-  "random@test.example" from to: rewritten as "random@rwtest.example" by rule 1
+  "random@test.example" from to: rewritten as "random@rwtest.example" by rule 2
 newlen=4179 newtype=T newtext:
 To: random@rwtest.example,
     random@rwtest.example,
@@ -11713,23 +12320,32 @@ remainder: random@test.example,
     random@test.example,
     random@test.exa
 **** debug string too long - truncated ****
-address match test: subject=random@test.example pattern=*@*
-test.example in "*"? yes (matched "*")
-random@test.example in "*@*"? yes (matched "*@*")
- search_open: lsearch "TESTSUITE/aux-fixed/0471.rw"
-   cached open
- search_find: file="TESTSUITE/aux-fixed/0471.rw"
-   key="test.example" partial=2 affix=*. starflags=0 opts=NULL
- LRU list:
-   0TESTSUITE/aux-fixed/0471.rw
-   End
- internal_search_find: file="TESTSUITE/aux-fixed/0471.rw"
-   type=lsearch key="test.example" opts=NULL
- cached data used for lookup of test.example
-   in TESTSUITE/aux-fixed/0471.rw
- lookup yielded: rwtest.example
+ random@test.example in "^.{40,}@*"?
+  list element: ^.{40,}@*
+  address match test: subject=random@test.example pattern=^.{40,}@*
+  compiled RE '^.{40,}@*' found in local cache
+ random@test.example in "^.{40,}@*"? no (end of list)
+ random@test.example in "*@*"?
+  list element: *@*
+  address match test: subject=random@test.example pattern=*@*
+  test.example in "*"?
+   list element: *
+   test.example in "*"? yes (matched "*")
+  random@test.example in "*@*"? yes (matched "*@*")
+  search_open: lsearch "TESTSUITE/aux-fixed/0471.rw"
+    cached open
+  search_find: file="TESTSUITE/aux-fixed/0471.rw"
+    key="test.example" partial=2 affix=*. starflags=0 opts=NULL
+  LRU list:
+    0TESTSUITE/aux-fixed/0471.rw
+    End
+  internal_search_find: file="TESTSUITE/aux-fixed/0471.rw"
+    type=lsearch key="test.example" opts=NULL
+  cached data used for lookup of test.example
+    in TESTSUITE/aux-fixed/0471.rw
+  lookup yielded: rwtest.example
 LOG: address_rewrite MAIN
-  "random@test.example" from to: rewritten as "random@rwtest.example" by rule 1
+  "random@test.example" from to: rewritten as "random@rwtest.example" by rule 2
 newlen=4181 newtype=T newtext:
 To: random@rwtest.example,
     random@rwtest.example,
@@ -11887,23 +12503,32 @@ remainder: random@test.example,
     random@test.example,
     random@test.exa
 **** debug string too long - truncated ****
-address match test: subject=random@test.example pattern=*@*
-test.example in "*"? yes (matched "*")
-random@test.example in "*@*"? yes (matched "*@*")
- search_open: lsearch "TESTSUITE/aux-fixed/0471.rw"
-   cached open
- search_find: file="TESTSUITE/aux-fixed/0471.rw"
-   key="test.example" partial=2 affix=*. starflags=0 opts=NULL
- LRU list:
-   0TESTSUITE/aux-fixed/0471.rw
-   End
- internal_search_find: file="TESTSUITE/aux-fixed/0471.rw"
-   type=lsearch key="test.example" opts=NULL
- cached data used for lookup of test.example
-   in TESTSUITE/aux-fixed/0471.rw
- lookup yielded: rwtest.example
+ random@test.example in "^.{40,}@*"?
+  list element: ^.{40,}@*
+  address match test: subject=random@test.example pattern=^.{40,}@*
+  compiled RE '^.{40,}@*' found in local cache
+ random@test.example in "^.{40,}@*"? no (end of list)
+ random@test.example in "*@*"?
+  list element: *@*
+  address match test: subject=random@test.example pattern=*@*
+  test.example in "*"?
+   list element: *
+   test.example in "*"? yes (matched "*")
+  random@test.example in "*@*"? yes (matched "*@*")
+  search_open: lsearch "TESTSUITE/aux-fixed/0471.rw"
+    cached open
+  search_find: file="TESTSUITE/aux-fixed/0471.rw"
+    key="test.example" partial=2 affix=*. starflags=0 opts=NULL
+  LRU list:
+    0TESTSUITE/aux-fixed/0471.rw
+    End
+  internal_search_find: file="TESTSUITE/aux-fixed/0471.rw"
+    type=lsearch key="test.example" opts=NULL
+  cached data used for lookup of test.example
+    in TESTSUITE/aux-fixed/0471.rw
+  lookup yielded: rwtest.example
 LOG: address_rewrite MAIN
-  "random@test.example" from to: rewritten as "random@rwtest.example" by rule 1
+  "random@test.example" from to: rewritten as "random@rwtest.example" by rule 2
 newlen=4183 newtype=T newtext:
 To: random@rwtest.example,
     random@rwtest.example,
@@ -12061,23 +12686,32 @@ remainder: random@test.example,
     random@test.example,
     random@test.exa
 **** debug string too long - truncated ****
-address match test: subject=random@test.example pattern=*@*
-test.example in "*"? yes (matched "*")
-random@test.example in "*@*"? yes (matched "*@*")
- search_open: lsearch "TESTSUITE/aux-fixed/0471.rw"
-   cached open
- search_find: file="TESTSUITE/aux-fixed/0471.rw"
-   key="test.example" partial=2 affix=*. starflags=0 opts=NULL
- LRU list:
-   0TESTSUITE/aux-fixed/0471.rw
-   End
- internal_search_find: file="TESTSUITE/aux-fixed/0471.rw"
-   type=lsearch key="test.example" opts=NULL
- cached data used for lookup of test.example
-   in TESTSUITE/aux-fixed/0471.rw
- lookup yielded: rwtest.example
+ random@test.example in "^.{40,}@*"?
+  list element: ^.{40,}@*
+  address match test: subject=random@test.example pattern=^.{40,}@*
+  compiled RE '^.{40,}@*' found in local cache
+ random@test.example in "^.{40,}@*"? no (end of list)
+ random@test.example in "*@*"?
+  list element: *@*
+  address match test: subject=random@test.example pattern=*@*
+  test.example in "*"?
+   list element: *
+   test.example in "*"? yes (matched "*")
+  random@test.example in "*@*"? yes (matched "*@*")
+  search_open: lsearch "TESTSUITE/aux-fixed/0471.rw"
+    cached open
+  search_find: file="TESTSUITE/aux-fixed/0471.rw"
+    key="test.example" partial=2 affix=*. starflags=0 opts=NULL
+  LRU list:
+    0TESTSUITE/aux-fixed/0471.rw
+    End
+  internal_search_find: file="TESTSUITE/aux-fixed/0471.rw"
+    type=lsearch key="test.example" opts=NULL
+  cached data used for lookup of test.example
+    in TESTSUITE/aux-fixed/0471.rw
+  lookup yielded: rwtest.example
 LOG: address_rewrite MAIN
-  "random@test.example" from to: rewritten as "random@rwtest.example" by rule 1
+  "random@test.example" from to: rewritten as "random@rwtest.example" by rule 2
 newlen=4185 newtype=T newtext:
 To: random@rwtest.example,
     random@rwtest.example,
@@ -12235,23 +12869,32 @@ remainder: random@test.example,
     random@test.example,
     random@test.exa
 **** debug string too long - truncated ****
-address match test: subject=random@test.example pattern=*@*
-test.example in "*"? yes (matched "*")
-random@test.example in "*@*"? yes (matched "*@*")
- search_open: lsearch "TESTSUITE/aux-fixed/0471.rw"
-   cached open
- search_find: file="TESTSUITE/aux-fixed/0471.rw"
-   key="test.example" partial=2 affix=*. starflags=0 opts=NULL
- LRU list:
-   0TESTSUITE/aux-fixed/0471.rw
-   End
- internal_search_find: file="TESTSUITE/aux-fixed/0471.rw"
-   type=lsearch key="test.example" opts=NULL
- cached data used for lookup of test.example
-   in TESTSUITE/aux-fixed/0471.rw
- lookup yielded: rwtest.example
+ random@test.example in "^.{40,}@*"?
+  list element: ^.{40,}@*
+  address match test: subject=random@test.example pattern=^.{40,}@*
+  compiled RE '^.{40,}@*' found in local cache
+ random@test.example in "^.{40,}@*"? no (end of list)
+ random@test.example in "*@*"?
+  list element: *@*
+  address match test: subject=random@test.example pattern=*@*
+  test.example in "*"?
+   list element: *
+   test.example in "*"? yes (matched "*")
+  random@test.example in "*@*"? yes (matched "*@*")
+  search_open: lsearch "TESTSUITE/aux-fixed/0471.rw"
+    cached open
+  search_find: file="TESTSUITE/aux-fixed/0471.rw"
+    key="test.example" partial=2 affix=*. starflags=0 opts=NULL
+  LRU list:
+    0TESTSUITE/aux-fixed/0471.rw
+    End
+  internal_search_find: file="TESTSUITE/aux-fixed/0471.rw"
+    type=lsearch key="test.example" opts=NULL
+  cached data used for lookup of test.example
+    in TESTSUITE/aux-fixed/0471.rw
+  lookup yielded: rwtest.example
 LOG: address_rewrite MAIN
-  "random@test.example" from to: rewritten as "random@rwtest.example" by rule 1
+  "random@test.example" from to: rewritten as "random@rwtest.example" by rule 2
 newlen=4187 newtype=T newtext:
 To: random@rwtest.example,
     random@rwtest.example,
@@ -12409,23 +13052,32 @@ remainder: random@test.example,
     random@test.example,
     random@test.exa
 **** debug string too long - truncated ****
-address match test: subject=random@test.example pattern=*@*
-test.example in "*"? yes (matched "*")
-random@test.example in "*@*"? yes (matched "*@*")
- search_open: lsearch "TESTSUITE/aux-fixed/0471.rw"
-   cached open
- search_find: file="TESTSUITE/aux-fixed/0471.rw"
-   key="test.example" partial=2 affix=*. starflags=0 opts=NULL
- LRU list:
-   0TESTSUITE/aux-fixed/0471.rw
-   End
- internal_search_find: file="TESTSUITE/aux-fixed/0471.rw"
-   type=lsearch key="test.example" opts=NULL
- cached data used for lookup of test.example
-   in TESTSUITE/aux-fixed/0471.rw
- lookup yielded: rwtest.example
+ random@test.example in "^.{40,}@*"?
+  list element: ^.{40,}@*
+  address match test: subject=random@test.example pattern=^.{40,}@*
+  compiled RE '^.{40,}@*' found in local cache
+ random@test.example in "^.{40,}@*"? no (end of list)
+ random@test.example in "*@*"?
+  list element: *@*
+  address match test: subject=random@test.example pattern=*@*
+  test.example in "*"?
+   list element: *
+   test.example in "*"? yes (matched "*")
+  random@test.example in "*@*"? yes (matched "*@*")
+  search_open: lsearch "TESTSUITE/aux-fixed/0471.rw"
+    cached open
+  search_find: file="TESTSUITE/aux-fixed/0471.rw"
+    key="test.example" partial=2 affix=*. starflags=0 opts=NULL
+  LRU list:
+    0TESTSUITE/aux-fixed/0471.rw
+    End
+  internal_search_find: file="TESTSUITE/aux-fixed/0471.rw"
+    type=lsearch key="test.example" opts=NULL
+  cached data used for lookup of test.example
+    in TESTSUITE/aux-fixed/0471.rw
+  lookup yielded: rwtest.example
 LOG: address_rewrite MAIN
-  "random@test.example" from to: rewritten as "random@rwtest.example" by rule 1
+  "random@test.example" from to: rewritten as "random@rwtest.example" by rule 2
 newlen=4189 newtype=T newtext:
 To: random@rwtest.example,
     random@rwtest.example,
@@ -12583,23 +13235,32 @@ remainder: random@test.example,
     random@test.example,
     random@test.exa
 **** debug string too long - truncated ****
-address match test: subject=random@test.example pattern=*@*
-test.example in "*"? yes (matched "*")
-random@test.example in "*@*"? yes (matched "*@*")
- search_open: lsearch "TESTSUITE/aux-fixed/0471.rw"
-   cached open
- search_find: file="TESTSUITE/aux-fixed/0471.rw"
-   key="test.example" partial=2 affix=*. starflags=0 opts=NULL
- LRU list:
-   0TESTSUITE/aux-fixed/0471.rw
-   End
- internal_search_find: file="TESTSUITE/aux-fixed/0471.rw"
-   type=lsearch key="test.example" opts=NULL
- cached data used for lookup of test.example
-   in TESTSUITE/aux-fixed/0471.rw
- lookup yielded: rwtest.example
+ random@test.example in "^.{40,}@*"?
+  list element: ^.{40,}@*
+  address match test: subject=random@test.example pattern=^.{40,}@*
+  compiled RE '^.{40,}@*' found in local cache
+ random@test.example in "^.{40,}@*"? no (end of list)
+ random@test.example in "*@*"?
+  list element: *@*
+  address match test: subject=random@test.example pattern=*@*
+  test.example in "*"?
+   list element: *
+   test.example in "*"? yes (matched "*")
+  random@test.example in "*@*"? yes (matched "*@*")
+  search_open: lsearch "TESTSUITE/aux-fixed/0471.rw"
+    cached open
+  search_find: file="TESTSUITE/aux-fixed/0471.rw"
+    key="test.example" partial=2 affix=*. starflags=0 opts=NULL
+  LRU list:
+    0TESTSUITE/aux-fixed/0471.rw
+    End
+  internal_search_find: file="TESTSUITE/aux-fixed/0471.rw"
+    type=lsearch key="test.example" opts=NULL
+  cached data used for lookup of test.example
+    in TESTSUITE/aux-fixed/0471.rw
+  lookup yielded: rwtest.example
 LOG: address_rewrite MAIN
-  "random@test.example" from to: rewritten as "random@rwtest.example" by rule 1
+  "random@test.example" from to: rewritten as "random@rwtest.example" by rule 2
 newlen=4191 newtype=T newtext:
 To: random@rwtest.example,
     random@rwtest.example,
@@ -12757,23 +13418,32 @@ remainder: random@test.example,
     random@test.example,
     random@test.exa
 **** debug string too long - truncated ****
-address match test: subject=random@test.example pattern=*@*
-test.example in "*"? yes (matched "*")
-random@test.example in "*@*"? yes (matched "*@*")
- search_open: lsearch "TESTSUITE/aux-fixed/0471.rw"
-   cached open
- search_find: file="TESTSUITE/aux-fixed/0471.rw"
-   key="test.example" partial=2 affix=*. starflags=0 opts=NULL
- LRU list:
-   0TESTSUITE/aux-fixed/0471.rw
-   End
- internal_search_find: file="TESTSUITE/aux-fixed/0471.rw"
-   type=lsearch key="test.example" opts=NULL
- cached data used for lookup of test.example
-   in TESTSUITE/aux-fixed/0471.rw
- lookup yielded: rwtest.example
+ random@test.example in "^.{40,}@*"?
+  list element: ^.{40,}@*
+  address match test: subject=random@test.example pattern=^.{40,}@*
+  compiled RE '^.{40,}@*' found in local cache
+ random@test.example in "^.{40,}@*"? no (end of list)
+ random@test.example in "*@*"?
+  list element: *@*
+  address match test: subject=random@test.example pattern=*@*
+  test.example in "*"?
+   list element: *
+   test.example in "*"? yes (matched "*")
+  random@test.example in "*@*"? yes (matched "*@*")
+  search_open: lsearch "TESTSUITE/aux-fixed/0471.rw"
+    cached open
+  search_find: file="TESTSUITE/aux-fixed/0471.rw"
+    key="test.example" partial=2 affix=*. starflags=0 opts=NULL
+  LRU list:
+    0TESTSUITE/aux-fixed/0471.rw
+    End
+  internal_search_find: file="TESTSUITE/aux-fixed/0471.rw"
+    type=lsearch key="test.example" opts=NULL
+  cached data used for lookup of test.example
+    in TESTSUITE/aux-fixed/0471.rw
+  lookup yielded: rwtest.example
 LOG: address_rewrite MAIN
-  "random@test.example" from to: rewritten as "random@rwtest.example" by rule 1
+  "random@test.example" from to: rewritten as "random@rwtest.example" by rule 2
 newlen=4193 newtype=T newtext:
 To: random@rwtest.example,
     random@rwtest.example,
@@ -12931,23 +13601,32 @@ remainder: random@test.example,
     random@test.example,
     random@test.exa
 **** debug string too long - truncated ****
-address match test: subject=random@test.example pattern=*@*
-test.example in "*"? yes (matched "*")
-random@test.example in "*@*"? yes (matched "*@*")
- search_open: lsearch "TESTSUITE/aux-fixed/0471.rw"
-   cached open
- search_find: file="TESTSUITE/aux-fixed/0471.rw"
-   key="test.example" partial=2 affix=*. starflags=0 opts=NULL
- LRU list:
-   0TESTSUITE/aux-fixed/0471.rw
-   End
- internal_search_find: file="TESTSUITE/aux-fixed/0471.rw"
-   type=lsearch key="test.example" opts=NULL
- cached data used for lookup of test.example
-   in TESTSUITE/aux-fixed/0471.rw
- lookup yielded: rwtest.example
+ random@test.example in "^.{40,}@*"?
+  list element: ^.{40,}@*
+  address match test: subject=random@test.example pattern=^.{40,}@*
+  compiled RE '^.{40,}@*' found in local cache
+ random@test.example in "^.{40,}@*"? no (end of list)
+ random@test.example in "*@*"?
+  list element: *@*
+  address match test: subject=random@test.example pattern=*@*
+  test.example in "*"?
+   list element: *
+   test.example in "*"? yes (matched "*")
+  random@test.example in "*@*"? yes (matched "*@*")
+  search_open: lsearch "TESTSUITE/aux-fixed/0471.rw"
+    cached open
+  search_find: file="TESTSUITE/aux-fixed/0471.rw"
+    key="test.example" partial=2 affix=*. starflags=0 opts=NULL
+  LRU list:
+    0TESTSUITE/aux-fixed/0471.rw
+    End
+  internal_search_find: file="TESTSUITE/aux-fixed/0471.rw"
+    type=lsearch key="test.example" opts=NULL
+  cached data used for lookup of test.example
+    in TESTSUITE/aux-fixed/0471.rw
+  lookup yielded: rwtest.example
 LOG: address_rewrite MAIN
-  "random@test.example" from to: rewritten as "random@rwtest.example" by rule 1
+  "random@test.example" from to: rewritten as "random@rwtest.example" by rule 2
 newlen=4195 newtype=T newtext:
 To: random@rwtest.example,
     random@rwtest.example,
@@ -13104,23 +13783,32 @@ remainder: random@test.example,
     random@test.example,
     random@test.exa
 **** debug string too long - truncated ****
-address match test: subject=random@test.example pattern=*@*
-test.example in "*"? yes (matched "*")
-random@test.example in "*@*"? yes (matched "*@*")
- search_open: lsearch "TESTSUITE/aux-fixed/0471.rw"
-   cached open
- search_find: file="TESTSUITE/aux-fixed/0471.rw"
-   key="test.example" partial=2 affix=*. starflags=0 opts=NULL
- LRU list:
-   0TESTSUITE/aux-fixed/0471.rw
-   End
- internal_search_find: file="TESTSUITE/aux-fixed/0471.rw"
-   type=lsearch key="test.example" opts=NULL
- cached data used for lookup of test.example
-   in TESTSUITE/aux-fixed/0471.rw
- lookup yielded: rwtest.example
+ random@test.example in "^.{40,}@*"?
+  list element: ^.{40,}@*
+  address match test: subject=random@test.example pattern=^.{40,}@*
+  compiled RE '^.{40,}@*' found in local cache
+ random@test.example in "^.{40,}@*"? no (end of list)
+ random@test.example in "*@*"?
+  list element: *@*
+  address match test: subject=random@test.example pattern=*@*
+  test.example in "*"?
+   list element: *
+   test.example in "*"? yes (matched "*")
+  random@test.example in "*@*"? yes (matched "*@*")
+  search_open: lsearch "TESTSUITE/aux-fixed/0471.rw"
+    cached open
+  search_find: file="TESTSUITE/aux-fixed/0471.rw"
+    key="test.example" partial=2 affix=*. starflags=0 opts=NULL
+  LRU list:
+    0TESTSUITE/aux-fixed/0471.rw
+    End
+  internal_search_find: file="TESTSUITE/aux-fixed/0471.rw"
+    type=lsearch key="test.example" opts=NULL
+  cached data used for lookup of test.example
+    in TESTSUITE/aux-fixed/0471.rw
+  lookup yielded: rwtest.example
 LOG: address_rewrite MAIN
-  "random@test.example" from to: rewritten as "random@rwtest.example" by rule 1
+  "random@test.example" from to: rewritten as "random@rwtest.example" by rule 2
 newlen=4197 newtype=T newtext:
 To: random@rwtest.example,
     random@rwtest.example,
@@ -13277,23 +13965,32 @@ remainder: random@test.example,
     random@test.example,
     random@test.exa
 **** debug string too long - truncated ****
-address match test: subject=random@test.example pattern=*@*
-test.example in "*"? yes (matched "*")
-random@test.example in "*@*"? yes (matched "*@*")
- search_open: lsearch "TESTSUITE/aux-fixed/0471.rw"
-   cached open
- search_find: file="TESTSUITE/aux-fixed/0471.rw"
-   key="test.example" partial=2 affix=*. starflags=0 opts=NULL
- LRU list:
-   0TESTSUITE/aux-fixed/0471.rw
-   End
- internal_search_find: file="TESTSUITE/aux-fixed/0471.rw"
-   type=lsearch key="test.example" opts=NULL
- cached data used for lookup of test.example
-   in TESTSUITE/aux-fixed/0471.rw
- lookup yielded: rwtest.example
+ random@test.example in "^.{40,}@*"?
+  list element: ^.{40,}@*
+  address match test: subject=random@test.example pattern=^.{40,}@*
+  compiled RE '^.{40,}@*' found in local cache
+ random@test.example in "^.{40,}@*"? no (end of list)
+ random@test.example in "*@*"?
+  list element: *@*
+  address match test: subject=random@test.example pattern=*@*
+  test.example in "*"?
+   list element: *
+   test.example in "*"? yes (matched "*")
+  random@test.example in "*@*"? yes (matched "*@*")
+  search_open: lsearch "TESTSUITE/aux-fixed/0471.rw"
+    cached open
+  search_find: file="TESTSUITE/aux-fixed/0471.rw"
+    key="test.example" partial=2 affix=*. starflags=0 opts=NULL
+  LRU list:
+    0TESTSUITE/aux-fixed/0471.rw
+    End
+  internal_search_find: file="TESTSUITE/aux-fixed/0471.rw"
+    type=lsearch key="test.example" opts=NULL
+  cached data used for lookup of test.example
+    in TESTSUITE/aux-fixed/0471.rw
+  lookup yielded: rwtest.example
 LOG: address_rewrite MAIN
-  "random@test.example" from to: rewritten as "random@rwtest.example" by rule 1
+  "random@test.example" from to: rewritten as "random@rwtest.example" by rule 2
 newlen=4199 newtype=T newtext:
 To: random@rwtest.example,
     random@rwtest.example,
@@ -13450,23 +14147,32 @@ remainder: random@test.example,
     random@test.example,
     random@test.exa
 **** debug string too long - truncated ****
-address match test: subject=random@test.example pattern=*@*
-test.example in "*"? yes (matched "*")
-random@test.example in "*@*"? yes (matched "*@*")
- search_open: lsearch "TESTSUITE/aux-fixed/0471.rw"
-   cached open
- search_find: file="TESTSUITE/aux-fixed/0471.rw"
-   key="test.example" partial=2 affix=*. starflags=0 opts=NULL
- LRU list:
-   0TESTSUITE/aux-fixed/0471.rw
-   End
- internal_search_find: file="TESTSUITE/aux-fixed/0471.rw"
-   type=lsearch key="test.example" opts=NULL
- cached data used for lookup of test.example
-   in TESTSUITE/aux-fixed/0471.rw
- lookup yielded: rwtest.example
+ random@test.example in "^.{40,}@*"?
+  list element: ^.{40,}@*
+  address match test: subject=random@test.example pattern=^.{40,}@*
+  compiled RE '^.{40,}@*' found in local cache
+ random@test.example in "^.{40,}@*"? no (end of list)
+ random@test.example in "*@*"?
+  list element: *@*
+  address match test: subject=random@test.example pattern=*@*
+  test.example in "*"?
+   list element: *
+   test.example in "*"? yes (matched "*")
+  random@test.example in "*@*"? yes (matched "*@*")
+  search_open: lsearch "TESTSUITE/aux-fixed/0471.rw"
+    cached open
+  search_find: file="TESTSUITE/aux-fixed/0471.rw"
+    key="test.example" partial=2 affix=*. starflags=0 opts=NULL
+  LRU list:
+    0TESTSUITE/aux-fixed/0471.rw
+    End
+  internal_search_find: file="TESTSUITE/aux-fixed/0471.rw"
+    type=lsearch key="test.example" opts=NULL
+  cached data used for lookup of test.example
+    in TESTSUITE/aux-fixed/0471.rw
+  lookup yielded: rwtest.example
 LOG: address_rewrite MAIN
-  "random@test.example" from to: rewritten as "random@rwtest.example" by rule 1
+  "random@test.example" from to: rewritten as "random@rwtest.example" by rule 2
 newlen=4201 newtype=T newtext:
 To: random@rwtest.example,
     random@rwtest.example,
@@ -13623,23 +14329,32 @@ remainder: random@test.example,
     random@test.example,
     random@test.exa
 **** debug string too long - truncated ****
-address match test: subject=random@test.example pattern=*@*
-test.example in "*"? yes (matched "*")
-random@test.example in "*@*"? yes (matched "*@*")
- search_open: lsearch "TESTSUITE/aux-fixed/0471.rw"
-   cached open
- search_find: file="TESTSUITE/aux-fixed/0471.rw"
-   key="test.example" partial=2 affix=*. starflags=0 opts=NULL
- LRU list:
-   0TESTSUITE/aux-fixed/0471.rw
-   End
- internal_search_find: file="TESTSUITE/aux-fixed/0471.rw"
-   type=lsearch key="test.example" opts=NULL
- cached data used for lookup of test.example
-   in TESTSUITE/aux-fixed/0471.rw
- lookup yielded: rwtest.example
+ random@test.example in "^.{40,}@*"?
+  list element: ^.{40,}@*
+  address match test: subject=random@test.example pattern=^.{40,}@*
+  compiled RE '^.{40,}@*' found in local cache
+ random@test.example in "^.{40,}@*"? no (end of list)
+ random@test.example in "*@*"?
+  list element: *@*
+  address match test: subject=random@test.example pattern=*@*
+  test.example in "*"?
+   list element: *
+   test.example in "*"? yes (matched "*")
+  random@test.example in "*@*"? yes (matched "*@*")
+  search_open: lsearch "TESTSUITE/aux-fixed/0471.rw"
+    cached open
+  search_find: file="TESTSUITE/aux-fixed/0471.rw"
+    key="test.example" partial=2 affix=*. starflags=0 opts=NULL
+  LRU list:
+    0TESTSUITE/aux-fixed/0471.rw
+    End
+  internal_search_find: file="TESTSUITE/aux-fixed/0471.rw"
+    type=lsearch key="test.example" opts=NULL
+  cached data used for lookup of test.example
+    in TESTSUITE/aux-fixed/0471.rw
+  lookup yielded: rwtest.example
 LOG: address_rewrite MAIN
-  "random@test.example" from to: rewritten as "random@rwtest.example" by rule 1
+  "random@test.example" from to: rewritten as "random@rwtest.example" by rule 2
 newlen=4203 newtype=T newtext:
 To: random@rwtest.example,
     random@rwtest.example,
@@ -13796,23 +14511,32 @@ remainder: random@test.example,
     random@test.example,
     random@test.exa
 **** debug string too long - truncated ****
-address match test: subject=random@test.example pattern=*@*
-test.example in "*"? yes (matched "*")
-random@test.example in "*@*"? yes (matched "*@*")
- search_open: lsearch "TESTSUITE/aux-fixed/0471.rw"
-   cached open
- search_find: file="TESTSUITE/aux-fixed/0471.rw"
-   key="test.example" partial=2 affix=*. starflags=0 opts=NULL
- LRU list:
-   0TESTSUITE/aux-fixed/0471.rw
-   End
- internal_search_find: file="TESTSUITE/aux-fixed/0471.rw"
-   type=lsearch key="test.example" opts=NULL
- cached data used for lookup of test.example
-   in TESTSUITE/aux-fixed/0471.rw
- lookup yielded: rwtest.example
+ random@test.example in "^.{40,}@*"?
+  list element: ^.{40,}@*
+  address match test: subject=random@test.example pattern=^.{40,}@*
+  compiled RE '^.{40,}@*' found in local cache
+ random@test.example in "^.{40,}@*"? no (end of list)
+ random@test.example in "*@*"?
+  list element: *@*
+  address match test: subject=random@test.example pattern=*@*
+  test.example in "*"?
+   list element: *
+   test.example in "*"? yes (matched "*")
+  random@test.example in "*@*"? yes (matched "*@*")
+  search_open: lsearch "TESTSUITE/aux-fixed/0471.rw"
+    cached open
+  search_find: file="TESTSUITE/aux-fixed/0471.rw"
+    key="test.example" partial=2 affix=*. starflags=0 opts=NULL
+  LRU list:
+    0TESTSUITE/aux-fixed/0471.rw
+    End
+  internal_search_find: file="TESTSUITE/aux-fixed/0471.rw"
+    type=lsearch key="test.example" opts=NULL
+  cached data used for lookup of test.example
+    in TESTSUITE/aux-fixed/0471.rw
+  lookup yielded: rwtest.example
 LOG: address_rewrite MAIN
-  "random@test.example" from to: rewritten as "random@rwtest.example" by rule 1
+  "random@test.example" from to: rewritten as "random@rwtest.example" by rule 2
 newlen=4205 newtype=T newtext:
 To: random@rwtest.example,
     random@rwtest.example,
@@ -13969,23 +14693,32 @@ remainder: random@test.example,
     random@test.example,
     random@test.exa
 **** debug string too long - truncated ****
-address match test: subject=random@test.example pattern=*@*
-test.example in "*"? yes (matched "*")
-random@test.example in "*@*"? yes (matched "*@*")
- search_open: lsearch "TESTSUITE/aux-fixed/0471.rw"
-   cached open
- search_find: file="TESTSUITE/aux-fixed/0471.rw"
-   key="test.example" partial=2 affix=*. starflags=0 opts=NULL
- LRU list:
-   0TESTSUITE/aux-fixed/0471.rw
-   End
- internal_search_find: file="TESTSUITE/aux-fixed/0471.rw"
-   type=lsearch key="test.example" opts=NULL
- cached data used for lookup of test.example
-   in TESTSUITE/aux-fixed/0471.rw
- lookup yielded: rwtest.example
+ random@test.example in "^.{40,}@*"?
+  list element: ^.{40,}@*
+  address match test: subject=random@test.example pattern=^.{40,}@*
+  compiled RE '^.{40,}@*' found in local cache
+ random@test.example in "^.{40,}@*"? no (end of list)
+ random@test.example in "*@*"?
+  list element: *@*
+  address match test: subject=random@test.example pattern=*@*
+  test.example in "*"?
+   list element: *
+   test.example in "*"? yes (matched "*")
+  random@test.example in "*@*"? yes (matched "*@*")
+  search_open: lsearch "TESTSUITE/aux-fixed/0471.rw"
+    cached open
+  search_find: file="TESTSUITE/aux-fixed/0471.rw"
+    key="test.example" partial=2 affix=*. starflags=0 opts=NULL
+  LRU list:
+    0TESTSUITE/aux-fixed/0471.rw
+    End
+  internal_search_find: file="TESTSUITE/aux-fixed/0471.rw"
+    type=lsearch key="test.example" opts=NULL
+  cached data used for lookup of test.example
+    in TESTSUITE/aux-fixed/0471.rw
+  lookup yielded: rwtest.example
 LOG: address_rewrite MAIN
-  "random@test.example" from to: rewritten as "random@rwtest.example" by rule 1
+  "random@test.example" from to: rewritten as "random@rwtest.example" by rule 2
 newlen=4207 newtype=T newtext:
 To: random@rwtest.example,
     random@rwtest.example,
@@ -14142,23 +14875,32 @@ remainder: random@test.example,
     random@test.example,
     random@test.exa
 **** debug string too long - truncated ****
-address match test: subject=random@test.example pattern=*@*
-test.example in "*"? yes (matched "*")
-random@test.example in "*@*"? yes (matched "*@*")
- search_open: lsearch "TESTSUITE/aux-fixed/0471.rw"
-   cached open
- search_find: file="TESTSUITE/aux-fixed/0471.rw"
-   key="test.example" partial=2 affix=*. starflags=0 opts=NULL
- LRU list:
-   0TESTSUITE/aux-fixed/0471.rw
-   End
- internal_search_find: file="TESTSUITE/aux-fixed/0471.rw"
-   type=lsearch key="test.example" opts=NULL
- cached data used for lookup of test.example
-   in TESTSUITE/aux-fixed/0471.rw
- lookup yielded: rwtest.example
+ random@test.example in "^.{40,}@*"?
+  list element: ^.{40,}@*
+  address match test: subject=random@test.example pattern=^.{40,}@*
+  compiled RE '^.{40,}@*' found in local cache
+ random@test.example in "^.{40,}@*"? no (end of list)
+ random@test.example in "*@*"?
+  list element: *@*
+  address match test: subject=random@test.example pattern=*@*
+  test.example in "*"?
+   list element: *
+   test.example in "*"? yes (matched "*")
+  random@test.example in "*@*"? yes (matched "*@*")
+  search_open: lsearch "TESTSUITE/aux-fixed/0471.rw"
+    cached open
+  search_find: file="TESTSUITE/aux-fixed/0471.rw"
+    key="test.example" partial=2 affix=*. starflags=0 opts=NULL
+  LRU list:
+    0TESTSUITE/aux-fixed/0471.rw
+    End
+  internal_search_find: file="TESTSUITE/aux-fixed/0471.rw"
+    type=lsearch key="test.example" opts=NULL
+  cached data used for lookup of test.example
+    in TESTSUITE/aux-fixed/0471.rw
+  lookup yielded: rwtest.example
 LOG: address_rewrite MAIN
-  "random@test.example" from to: rewritten as "random@rwtest.example" by rule 1
+  "random@test.example" from to: rewritten as "random@rwtest.example" by rule 2
 newlen=4209 newtype=T newtext:
 To: random@rwtest.example,
     random@rwtest.example,
@@ -14315,23 +15057,32 @@ remainder: random@test.example,
     random@test.example,
     random@test.exa
 **** debug string too long - truncated ****
-address match test: subject=random@test.example pattern=*@*
-test.example in "*"? yes (matched "*")
-random@test.example in "*@*"? yes (matched "*@*")
- search_open: lsearch "TESTSUITE/aux-fixed/0471.rw"
-   cached open
- search_find: file="TESTSUITE/aux-fixed/0471.rw"
-   key="test.example" partial=2 affix=*. starflags=0 opts=NULL
- LRU list:
-   0TESTSUITE/aux-fixed/0471.rw
-   End
- internal_search_find: file="TESTSUITE/aux-fixed/0471.rw"
-   type=lsearch key="test.example" opts=NULL
- cached data used for lookup of test.example
-   in TESTSUITE/aux-fixed/0471.rw
- lookup yielded: rwtest.example
+ random@test.example in "^.{40,}@*"?
+  list element: ^.{40,}@*
+  address match test: subject=random@test.example pattern=^.{40,}@*
+  compiled RE '^.{40,}@*' found in local cache
+ random@test.example in "^.{40,}@*"? no (end of list)
+ random@test.example in "*@*"?
+  list element: *@*
+  address match test: subject=random@test.example pattern=*@*
+  test.example in "*"?
+   list element: *
+   test.example in "*"? yes (matched "*")
+  random@test.example in "*@*"? yes (matched "*@*")
+  search_open: lsearch "TESTSUITE/aux-fixed/0471.rw"
+    cached open
+  search_find: file="TESTSUITE/aux-fixed/0471.rw"
+    key="test.example" partial=2 affix=*. starflags=0 opts=NULL
+  LRU list:
+    0TESTSUITE/aux-fixed/0471.rw
+    End
+  internal_search_find: file="TESTSUITE/aux-fixed/0471.rw"
+    type=lsearch key="test.example" opts=NULL
+  cached data used for lookup of test.example
+    in TESTSUITE/aux-fixed/0471.rw
+  lookup yielded: rwtest.example
 LOG: address_rewrite MAIN
-  "random@test.example" from to: rewritten as "random@rwtest.example" by rule 1
+  "random@test.example" from to: rewritten as "random@rwtest.example" by rule 2
 newlen=4211 newtype=T newtext:
 To: random@rwtest.example,
     random@rwtest.example,
@@ -14488,23 +15239,32 @@ remainder: random@test.example,
     random@test.example,
     random@test.example,
     random@test.example
-address match test: subject=random@test.example pattern=*@*
-test.example in "*"? yes (matched "*")
-random@test.example in "*@*"? yes (matched "*@*")
- search_open: lsearch "TESTSUITE/aux-fixed/0471.rw"
-   cached open
- search_find: file="TESTSUITE/aux-fixed/0471.rw"
-   key="test.example" partial=2 affix=*. starflags=0 opts=NULL
- LRU list:
-   0TESTSUITE/aux-fixed/0471.rw
-   End
- internal_search_find: file="TESTSUITE/aux-fixed/0471.rw"
-   type=lsearch key="test.example" opts=NULL
- cached data used for lookup of test.example
-   in TESTSUITE/aux-fixed/0471.rw
- lookup yielded: rwtest.example
+ random@test.example in "^.{40,}@*"?
+  list element: ^.{40,}@*
+  address match test: subject=random@test.example pattern=^.{40,}@*
+  compiled RE '^.{40,}@*' found in local cache
+ random@test.example in "^.{40,}@*"? no (end of list)
+ random@test.example in "*@*"?
+  list element: *@*
+  address match test: subject=random@test.example pattern=*@*
+  test.example in "*"?
+   list element: *
+   test.example in "*"? yes (matched "*")
+  random@test.example in "*@*"? yes (matched "*@*")
+  search_open: lsearch "TESTSUITE/aux-fixed/0471.rw"
+    cached open
+  search_find: file="TESTSUITE/aux-fixed/0471.rw"
+    key="test.example" partial=2 affix=*. starflags=0 opts=NULL
+  LRU list:
+    0TESTSUITE/aux-fixed/0471.rw
+    End
+  internal_search_find: file="TESTSUITE/aux-fixed/0471.rw"
+    type=lsearch key="test.example" opts=NULL
+  cached data used for lookup of test.example
+    in TESTSUITE/aux-fixed/0471.rw
+  lookup yielded: rwtest.example
 LOG: address_rewrite MAIN
-  "random@test.example" from to: rewritten as "random@rwtest.example" by rule 1
+  "random@test.example" from to: rewritten as "random@rwtest.example" by rule 2
 newlen=4213 newtype=T newtext:
 To: random@rwtest.example,
     random@rwtest.example,
@@ -14660,23 +15420,32 @@ remainder: random@test.example,
     random@test.example,
     random@test.example,
     random@test.example
-address match test: subject=random@test.example pattern=*@*
-test.example in "*"? yes (matched "*")
-random@test.example in "*@*"? yes (matched "*@*")
- search_open: lsearch "TESTSUITE/aux-fixed/0471.rw"
-   cached open
- search_find: file="TESTSUITE/aux-fixed/0471.rw"
-   key="test.example" partial=2 affix=*. starflags=0 opts=NULL
- LRU list:
-   0TESTSUITE/aux-fixed/0471.rw
-   End
- internal_search_find: file="TESTSUITE/aux-fixed/0471.rw"
-   type=lsearch key="test.example" opts=NULL
- cached data used for lookup of test.example
-   in TESTSUITE/aux-fixed/0471.rw
- lookup yielded: rwtest.example
+ random@test.example in "^.{40,}@*"?
+  list element: ^.{40,}@*
+  address match test: subject=random@test.example pattern=^.{40,}@*
+  compiled RE '^.{40,}@*' found in local cache
+ random@test.example in "^.{40,}@*"? no (end of list)
+ random@test.example in "*@*"?
+  list element: *@*
+  address match test: subject=random@test.example pattern=*@*
+  test.example in "*"?
+   list element: *
+   test.example in "*"? yes (matched "*")
+  random@test.example in "*@*"? yes (matched "*@*")
+  search_open: lsearch "TESTSUITE/aux-fixed/0471.rw"
+    cached open
+  search_find: file="TESTSUITE/aux-fixed/0471.rw"
+    key="test.example" partial=2 affix=*. starflags=0 opts=NULL
+  LRU list:
+    0TESTSUITE/aux-fixed/0471.rw
+    End
+  internal_search_find: file="TESTSUITE/aux-fixed/0471.rw"
+    type=lsearch key="test.example" opts=NULL
+  cached data used for lookup of test.example
+    in TESTSUITE/aux-fixed/0471.rw
+  lookup yielded: rwtest.example
 LOG: address_rewrite MAIN
-  "random@test.example" from to: rewritten as "random@rwtest.example" by rule 1
+  "random@test.example" from to: rewritten as "random@rwtest.example" by rule 2
 newlen=4215 newtype=T newtext:
 To: random@rwtest.example,
     random@rwtest.example,
@@ -14831,23 +15600,32 @@ remainder: random@test.example,
     random@test.example,
     random@test.example,
     random@test.example
-address match test: subject=random@test.example pattern=*@*
-test.example in "*"? yes (matched "*")
-random@test.example in "*@*"? yes (matched "*@*")
- search_open: lsearch "TESTSUITE/aux-fixed/0471.rw"
-   cached open
- search_find: file="TESTSUITE/aux-fixed/0471.rw"
-   key="test.example" partial=2 affix=*. starflags=0 opts=NULL
- LRU list:
-   0TESTSUITE/aux-fixed/0471.rw
-   End
- internal_search_find: file="TESTSUITE/aux-fixed/0471.rw"
-   type=lsearch key="test.example" opts=NULL
- cached data used for lookup of test.example
-   in TESTSUITE/aux-fixed/0471.rw
- lookup yielded: rwtest.example
+ random@test.example in "^.{40,}@*"?
+  list element: ^.{40,}@*
+  address match test: subject=random@test.example pattern=^.{40,}@*
+  compiled RE '^.{40,}@*' found in local cache
+ random@test.example in "^.{40,}@*"? no (end of list)
+ random@test.example in "*@*"?
+  list element: *@*
+  address match test: subject=random@test.example pattern=*@*
+  test.example in "*"?
+   list element: *
+   test.example in "*"? yes (matched "*")
+  random@test.example in "*@*"? yes (matched "*@*")
+  search_open: lsearch "TESTSUITE/aux-fixed/0471.rw"
+    cached open
+  search_find: file="TESTSUITE/aux-fixed/0471.rw"
+    key="test.example" partial=2 affix=*. starflags=0 opts=NULL
+  LRU list:
+    0TESTSUITE/aux-fixed/0471.rw
+    End
+  internal_search_find: file="TESTSUITE/aux-fixed/0471.rw"
+    type=lsearch key="test.example" opts=NULL
+  cached data used for lookup of test.example
+    in TESTSUITE/aux-fixed/0471.rw
+  lookup yielded: rwtest.example
 LOG: address_rewrite MAIN
-  "random@test.example" from to: rewritten as "random@rwtest.example" by rule 1
+  "random@test.example" from to: rewritten as "random@rwtest.example" by rule 2
 newlen=4217 newtype=T newtext:
 To: random@rwtest.example,
     random@rwtest.example,
@@ -15001,23 +15779,32 @@ remainder: random@test.example,
     random@test.example,
     random@test.example,
     random@test.example
-address match test: subject=random@test.example pattern=*@*
-test.example in "*"? yes (matched "*")
-random@test.example in "*@*"? yes (matched "*@*")
- search_open: lsearch "TESTSUITE/aux-fixed/0471.rw"
-   cached open
- search_find: file="TESTSUITE/aux-fixed/0471.rw"
-   key="test.example" partial=2 affix=*. starflags=0 opts=NULL
- LRU list:
-   0TESTSUITE/aux-fixed/0471.rw
-   End
- internal_search_find: file="TESTSUITE/aux-fixed/0471.rw"
-   type=lsearch key="test.example" opts=NULL
- cached data used for lookup of test.example
-   in TESTSUITE/aux-fixed/0471.rw
- lookup yielded: rwtest.example
+ random@test.example in "^.{40,}@*"?
+  list element: ^.{40,}@*
+  address match test: subject=random@test.example pattern=^.{40,}@*
+  compiled RE '^.{40,}@*' found in local cache
+ random@test.example in "^.{40,}@*"? no (end of list)
+ random@test.example in "*@*"?
+  list element: *@*
+  address match test: subject=random@test.example pattern=*@*
+  test.example in "*"?
+   list element: *
+   test.example in "*"? yes (matched "*")
+  random@test.example in "*@*"? yes (matched "*@*")
+  search_open: lsearch "TESTSUITE/aux-fixed/0471.rw"
+    cached open
+  search_find: file="TESTSUITE/aux-fixed/0471.rw"
+    key="test.example" partial=2 affix=*. starflags=0 opts=NULL
+  LRU list:
+    0TESTSUITE/aux-fixed/0471.rw
+    End
+  internal_search_find: file="TESTSUITE/aux-fixed/0471.rw"
+    type=lsearch key="test.example" opts=NULL
+  cached data used for lookup of test.example
+    in TESTSUITE/aux-fixed/0471.rw
+  lookup yielded: rwtest.example
 LOG: address_rewrite MAIN
-  "random@test.example" from to: rewritten as "random@rwtest.example" by rule 1
+  "random@test.example" from to: rewritten as "random@rwtest.example" by rule 2
 newlen=4219 newtype=T newtext:
 To: random@rwtest.example,
     random@rwtest.example,
@@ -15170,23 +15957,32 @@ remainder: random@test.example,
     random@test.example,
     random@test.example,
     random@test.example
-address match test: subject=random@test.example pattern=*@*
-test.example in "*"? yes (matched "*")
-random@test.example in "*@*"? yes (matched "*@*")
- search_open: lsearch "TESTSUITE/aux-fixed/0471.rw"
-   cached open
- search_find: file="TESTSUITE/aux-fixed/0471.rw"
-   key="test.example" partial=2 affix=*. starflags=0 opts=NULL
- LRU list:
-   0TESTSUITE/aux-fixed/0471.rw
-   End
- internal_search_find: file="TESTSUITE/aux-fixed/0471.rw"
-   type=lsearch key="test.example" opts=NULL
- cached data used for lookup of test.example
-   in TESTSUITE/aux-fixed/0471.rw
- lookup yielded: rwtest.example
+ random@test.example in "^.{40,}@*"?
+  list element: ^.{40,}@*
+  address match test: subject=random@test.example pattern=^.{40,}@*
+  compiled RE '^.{40,}@*' found in local cache
+ random@test.example in "^.{40,}@*"? no (end of list)
+ random@test.example in "*@*"?
+  list element: *@*
+  address match test: subject=random@test.example pattern=*@*
+  test.example in "*"?
+   list element: *
+   test.example in "*"? yes (matched "*")
+  random@test.example in "*@*"? yes (matched "*@*")
+  search_open: lsearch "TESTSUITE/aux-fixed/0471.rw"
+    cached open
+  search_find: file="TESTSUITE/aux-fixed/0471.rw"
+    key="test.example" partial=2 affix=*. starflags=0 opts=NULL
+  LRU list:
+    0TESTSUITE/aux-fixed/0471.rw
+    End
+  internal_search_find: file="TESTSUITE/aux-fixed/0471.rw"
+    type=lsearch key="test.example" opts=NULL
+  cached data used for lookup of test.example
+    in TESTSUITE/aux-fixed/0471.rw
+  lookup yielded: rwtest.example
 LOG: address_rewrite MAIN
-  "random@test.example" from to: rewritten as "random@rwtest.example" by rule 1
+  "random@test.example" from to: rewritten as "random@rwtest.example" by rule 2
 newlen=4221 newtype=T newtext:
 To: random@rwtest.example,
     random@rwtest.example,
@@ -15338,23 +16134,32 @@ remainder: random@test.example,
     random@test.example,
     random@test.example,
     random@test.example
-address match test: subject=random@test.example pattern=*@*
-test.example in "*"? yes (matched "*")
-random@test.example in "*@*"? yes (matched "*@*")
- search_open: lsearch "TESTSUITE/aux-fixed/0471.rw"
-   cached open
- search_find: file="TESTSUITE/aux-fixed/0471.rw"
-   key="test.example" partial=2 affix=*. starflags=0 opts=NULL
- LRU list:
-   0TESTSUITE/aux-fixed/0471.rw
-   End
- internal_search_find: file="TESTSUITE/aux-fixed/0471.rw"
-   type=lsearch key="test.example" opts=NULL
- cached data used for lookup of test.example
-   in TESTSUITE/aux-fixed/0471.rw
- lookup yielded: rwtest.example
+ random@test.example in "^.{40,}@*"?
+  list element: ^.{40,}@*
+  address match test: subject=random@test.example pattern=^.{40,}@*
+  compiled RE '^.{40,}@*' found in local cache
+ random@test.example in "^.{40,}@*"? no (end of list)
+ random@test.example in "*@*"?
+  list element: *@*
+  address match test: subject=random@test.example pattern=*@*
+  test.example in "*"?
+   list element: *
+   test.example in "*"? yes (matched "*")
+  random@test.example in "*@*"? yes (matched "*@*")
+  search_open: lsearch "TESTSUITE/aux-fixed/0471.rw"
+    cached open
+  search_find: file="TESTSUITE/aux-fixed/0471.rw"
+    key="test.example" partial=2 affix=*. starflags=0 opts=NULL
+  LRU list:
+    0TESTSUITE/aux-fixed/0471.rw
+    End
+  internal_search_find: file="TESTSUITE/aux-fixed/0471.rw"
+    type=lsearch key="test.example" opts=NULL
+  cached data used for lookup of test.example
+    in TESTSUITE/aux-fixed/0471.rw
+  lookup yielded: rwtest.example
 LOG: address_rewrite MAIN
-  "random@test.example" from to: rewritten as "random@rwtest.example" by rule 1
+  "random@test.example" from to: rewritten as "random@rwtest.example" by rule 2
 newlen=4223 newtype=T newtext:
 To: random@rwtest.example,
     random@rwtest.example,
@@ -15505,23 +16310,32 @@ remainder: random@test.example,
     random@test.example,
     random@test.example,
     random@test.example
-address match test: subject=random@test.example pattern=*@*
-test.example in "*"? yes (matched "*")
-random@test.example in "*@*"? yes (matched "*@*")
- search_open: lsearch "TESTSUITE/aux-fixed/0471.rw"
-   cached open
- search_find: file="TESTSUITE/aux-fixed/0471.rw"
-   key="test.example" partial=2 affix=*. starflags=0 opts=NULL
- LRU list:
-   0TESTSUITE/aux-fixed/0471.rw
-   End
- internal_search_find: file="TESTSUITE/aux-fixed/0471.rw"
-   type=lsearch key="test.example" opts=NULL
- cached data used for lookup of test.example
-   in TESTSUITE/aux-fixed/0471.rw
- lookup yielded: rwtest.example
+ random@test.example in "^.{40,}@*"?
+  list element: ^.{40,}@*
+  address match test: subject=random@test.example pattern=^.{40,}@*
+  compiled RE '^.{40,}@*' found in local cache
+ random@test.example in "^.{40,}@*"? no (end of list)
+ random@test.example in "*@*"?
+  list element: *@*
+  address match test: subject=random@test.example pattern=*@*
+  test.example in "*"?
+   list element: *
+   test.example in "*"? yes (matched "*")
+  random@test.example in "*@*"? yes (matched "*@*")
+  search_open: lsearch "TESTSUITE/aux-fixed/0471.rw"
+    cached open
+  search_find: file="TESTSUITE/aux-fixed/0471.rw"
+    key="test.example" partial=2 affix=*. starflags=0 opts=NULL
+  LRU list:
+    0TESTSUITE/aux-fixed/0471.rw
+    End
+  internal_search_find: file="TESTSUITE/aux-fixed/0471.rw"
+    type=lsearch key="test.example" opts=NULL
+  cached data used for lookup of test.example
+    in TESTSUITE/aux-fixed/0471.rw
+  lookup yielded: rwtest.example
 LOG: address_rewrite MAIN
-  "random@test.example" from to: rewritten as "random@rwtest.example" by rule 1
+  "random@test.example" from to: rewritten as "random@rwtest.example" by rule 2
 newlen=4225 newtype=T newtext:
 To: random@rwtest.example,
     random@rwtest.example,
@@ -15671,23 +16485,32 @@ remainder: random@test.example,
     random@test.example,
     random@test.example,
     random@test.example
-address match test: subject=random@test.example pattern=*@*
-test.example in "*"? yes (matched "*")
-random@test.example in "*@*"? yes (matched "*@*")
- search_open: lsearch "TESTSUITE/aux-fixed/0471.rw"
-   cached open
- search_find: file="TESTSUITE/aux-fixed/0471.rw"
-   key="test.example" partial=2 affix=*. starflags=0 opts=NULL
- LRU list:
-   0TESTSUITE/aux-fixed/0471.rw
-   End
- internal_search_find: file="TESTSUITE/aux-fixed/0471.rw"
-   type=lsearch key="test.example" opts=NULL
- cached data used for lookup of test.example
-   in TESTSUITE/aux-fixed/0471.rw
- lookup yielded: rwtest.example
+ random@test.example in "^.{40,}@*"?
+  list element: ^.{40,}@*
+  address match test: subject=random@test.example pattern=^.{40,}@*
+  compiled RE '^.{40,}@*' found in local cache
+ random@test.example in "^.{40,}@*"? no (end of list)
+ random@test.example in "*@*"?
+  list element: *@*
+  address match test: subject=random@test.example pattern=*@*
+  test.example in "*"?
+   list element: *
+   test.example in "*"? yes (matched "*")
+  random@test.example in "*@*"? yes (matched "*@*")
+  search_open: lsearch "TESTSUITE/aux-fixed/0471.rw"
+    cached open
+  search_find: file="TESTSUITE/aux-fixed/0471.rw"
+    key="test.example" partial=2 affix=*. starflags=0 opts=NULL
+  LRU list:
+    0TESTSUITE/aux-fixed/0471.rw
+    End
+  internal_search_find: file="TESTSUITE/aux-fixed/0471.rw"
+    type=lsearch key="test.example" opts=NULL
+  cached data used for lookup of test.example
+    in TESTSUITE/aux-fixed/0471.rw
+  lookup yielded: rwtest.example
 LOG: address_rewrite MAIN
-  "random@test.example" from to: rewritten as "random@rwtest.example" by rule 1
+  "random@test.example" from to: rewritten as "random@rwtest.example" by rule 2
 newlen=4227 newtype=T newtext:
 To: random@rwtest.example,
     random@rwtest.example,
@@ -15836,23 +16659,32 @@ remainder: random@test.example,
     random@test.example,
     random@test.example,
     random@test.example
-address match test: subject=random@test.example pattern=*@*
-test.example in "*"? yes (matched "*")
-random@test.example in "*@*"? yes (matched "*@*")
- search_open: lsearch "TESTSUITE/aux-fixed/0471.rw"
-   cached open
- search_find: file="TESTSUITE/aux-fixed/0471.rw"
-   key="test.example" partial=2 affix=*. starflags=0 opts=NULL
- LRU list:
-   0TESTSUITE/aux-fixed/0471.rw
-   End
- internal_search_find: file="TESTSUITE/aux-fixed/0471.rw"
-   type=lsearch key="test.example" opts=NULL
- cached data used for lookup of test.example
-   in TESTSUITE/aux-fixed/0471.rw
- lookup yielded: rwtest.example
+ random@test.example in "^.{40,}@*"?
+  list element: ^.{40,}@*
+  address match test: subject=random@test.example pattern=^.{40,}@*
+  compiled RE '^.{40,}@*' found in local cache
+ random@test.example in "^.{40,}@*"? no (end of list)
+ random@test.example in "*@*"?
+  list element: *@*
+  address match test: subject=random@test.example pattern=*@*
+  test.example in "*"?
+   list element: *
+   test.example in "*"? yes (matched "*")
+  random@test.example in "*@*"? yes (matched "*@*")
+  search_open: lsearch "TESTSUITE/aux-fixed/0471.rw"
+    cached open
+  search_find: file="TESTSUITE/aux-fixed/0471.rw"
+    key="test.example" partial=2 affix=*. starflags=0 opts=NULL
+  LRU list:
+    0TESTSUITE/aux-fixed/0471.rw
+    End
+  internal_search_find: file="TESTSUITE/aux-fixed/0471.rw"
+    type=lsearch key="test.example" opts=NULL
+  cached data used for lookup of test.example
+    in TESTSUITE/aux-fixed/0471.rw
+  lookup yielded: rwtest.example
 LOG: address_rewrite MAIN
-  "random@test.example" from to: rewritten as "random@rwtest.example" by rule 1
+  "random@test.example" from to: rewritten as "random@rwtest.example" by rule 2
 newlen=4229 newtype=T newtext:
 To: random@rwtest.example,
     random@rwtest.example,
@@ -16000,23 +16832,32 @@ remainder: random@test.example,
     random@test.example,
     random@test.example,
     random@test.example
-address match test: subject=random@test.example pattern=*@*
-test.example in "*"? yes (matched "*")
-random@test.example in "*@*"? yes (matched "*@*")
- search_open: lsearch "TESTSUITE/aux-fixed/0471.rw"
-   cached open
- search_find: file="TESTSUITE/aux-fixed/0471.rw"
-   key="test.example" partial=2 affix=*. starflags=0 opts=NULL
- LRU list:
-   0TESTSUITE/aux-fixed/0471.rw
-   End
- internal_search_find: file="TESTSUITE/aux-fixed/0471.rw"
-   type=lsearch key="test.example" opts=NULL
- cached data used for lookup of test.example
-   in TESTSUITE/aux-fixed/0471.rw
- lookup yielded: rwtest.example
+ random@test.example in "^.{40,}@*"?
+  list element: ^.{40,}@*
+  address match test: subject=random@test.example pattern=^.{40,}@*
+  compiled RE '^.{40,}@*' found in local cache
+ random@test.example in "^.{40,}@*"? no (end of list)
+ random@test.example in "*@*"?
+  list element: *@*
+  address match test: subject=random@test.example pattern=*@*
+  test.example in "*"?
+   list element: *
+   test.example in "*"? yes (matched "*")
+  random@test.example in "*@*"? yes (matched "*@*")
+  search_open: lsearch "TESTSUITE/aux-fixed/0471.rw"
+    cached open
+  search_find: file="TESTSUITE/aux-fixed/0471.rw"
+    key="test.example" partial=2 affix=*. starflags=0 opts=NULL
+  LRU list:
+    0TESTSUITE/aux-fixed/0471.rw
+    End
+  internal_search_find: file="TESTSUITE/aux-fixed/0471.rw"
+    type=lsearch key="test.example" opts=NULL
+  cached data used for lookup of test.example
+    in TESTSUITE/aux-fixed/0471.rw
+  lookup yielded: rwtest.example
 LOG: address_rewrite MAIN
-  "random@test.example" from to: rewritten as "random@rwtest.example" by rule 1
+  "random@test.example" from to: rewritten as "random@rwtest.example" by rule 2
 newlen=4231 newtype=T newtext:
 To: random@rwtest.example,
     random@rwtest.example,
@@ -16163,23 +17004,32 @@ remainder: random@test.example,
     random@test.example,
     random@test.example,
     random@test.example
-address match test: subject=random@test.example pattern=*@*
-test.example in "*"? yes (matched "*")
-random@test.example in "*@*"? yes (matched "*@*")
- search_open: lsearch "TESTSUITE/aux-fixed/0471.rw"
-   cached open
- search_find: file="TESTSUITE/aux-fixed/0471.rw"
-   key="test.example" partial=2 affix=*. starflags=0 opts=NULL
- LRU list:
-   0TESTSUITE/aux-fixed/0471.rw
-   End
- internal_search_find: file="TESTSUITE/aux-fixed/0471.rw"
-   type=lsearch key="test.example" opts=NULL
- cached data used for lookup of test.example
-   in TESTSUITE/aux-fixed/0471.rw
- lookup yielded: rwtest.example
+ random@test.example in "^.{40,}@*"?
+  list element: ^.{40,}@*
+  address match test: subject=random@test.example pattern=^.{40,}@*
+  compiled RE '^.{40,}@*' found in local cache
+ random@test.example in "^.{40,}@*"? no (end of list)
+ random@test.example in "*@*"?
+  list element: *@*
+  address match test: subject=random@test.example pattern=*@*
+  test.example in "*"?
+   list element: *
+   test.example in "*"? yes (matched "*")
+  random@test.example in "*@*"? yes (matched "*@*")
+  search_open: lsearch "TESTSUITE/aux-fixed/0471.rw"
+    cached open
+  search_find: file="TESTSUITE/aux-fixed/0471.rw"
+    key="test.example" partial=2 affix=*. starflags=0 opts=NULL
+  LRU list:
+    0TESTSUITE/aux-fixed/0471.rw
+    End
+  internal_search_find: file="TESTSUITE/aux-fixed/0471.rw"
+    type=lsearch key="test.example" opts=NULL
+  cached data used for lookup of test.example
+    in TESTSUITE/aux-fixed/0471.rw
+  lookup yielded: rwtest.example
 LOG: address_rewrite MAIN
-  "random@test.example" from to: rewritten as "random@rwtest.example" by rule 1
+  "random@test.example" from to: rewritten as "random@rwtest.example" by rule 2
 newlen=4233 newtype=T newtext:
 To: random@rwtest.example,
     random@rwtest.example,
@@ -16325,23 +17175,32 @@ remainder: random@test.example,
     random@test.example,
     random@test.example,
     random@test.example
-address match test: subject=random@test.example pattern=*@*
-test.example in "*"? yes (matched "*")
-random@test.example in "*@*"? yes (matched "*@*")
- search_open: lsearch "TESTSUITE/aux-fixed/0471.rw"
-   cached open
- search_find: file="TESTSUITE/aux-fixed/0471.rw"
-   key="test.example" partial=2 affix=*. starflags=0 opts=NULL
- LRU list:
-   0TESTSUITE/aux-fixed/0471.rw
-   End
- internal_search_find: file="TESTSUITE/aux-fixed/0471.rw"
-   type=lsearch key="test.example" opts=NULL
- cached data used for lookup of test.example
-   in TESTSUITE/aux-fixed/0471.rw
- lookup yielded: rwtest.example
+ random@test.example in "^.{40,}@*"?
+  list element: ^.{40,}@*
+  address match test: subject=random@test.example pattern=^.{40,}@*
+  compiled RE '^.{40,}@*' found in local cache
+ random@test.example in "^.{40,}@*"? no (end of list)
+ random@test.example in "*@*"?
+  list element: *@*
+  address match test: subject=random@test.example pattern=*@*
+  test.example in "*"?
+   list element: *
+   test.example in "*"? yes (matched "*")
+  random@test.example in "*@*"? yes (matched "*@*")
+  search_open: lsearch "TESTSUITE/aux-fixed/0471.rw"
+    cached open
+  search_find: file="TESTSUITE/aux-fixed/0471.rw"
+    key="test.example" partial=2 affix=*. starflags=0 opts=NULL
+  LRU list:
+    0TESTSUITE/aux-fixed/0471.rw
+    End
+  internal_search_find: file="TESTSUITE/aux-fixed/0471.rw"
+    type=lsearch key="test.example" opts=NULL
+  cached data used for lookup of test.example
+    in TESTSUITE/aux-fixed/0471.rw
+  lookup yielded: rwtest.example
 LOG: address_rewrite MAIN
-  "random@test.example" from to: rewritten as "random@rwtest.example" by rule 1
+  "random@test.example" from to: rewritten as "random@rwtest.example" by rule 2
 newlen=4235 newtype=T newtext:
 To: random@rwtest.example,
     random@rwtest.example,
@@ -16486,23 +17345,32 @@ remainder: random@test.example,
     random@test.example,
     random@test.example,
     random@test.example
-address match test: subject=random@test.example pattern=*@*
-test.example in "*"? yes (matched "*")
-random@test.example in "*@*"? yes (matched "*@*")
- search_open: lsearch "TESTSUITE/aux-fixed/0471.rw"
-   cached open
- search_find: file="TESTSUITE/aux-fixed/0471.rw"
-   key="test.example" partial=2 affix=*. starflags=0 opts=NULL
- LRU list:
-   0TESTSUITE/aux-fixed/0471.rw
-   End
- internal_search_find: file="TESTSUITE/aux-fixed/0471.rw"
-   type=lsearch key="test.example" opts=NULL
- cached data used for lookup of test.example
-   in TESTSUITE/aux-fixed/0471.rw
- lookup yielded: rwtest.example
+ random@test.example in "^.{40,}@*"?
+  list element: ^.{40,}@*
+  address match test: subject=random@test.example pattern=^.{40,}@*
+  compiled RE '^.{40,}@*' found in local cache
+ random@test.example in "^.{40,}@*"? no (end of list)
+ random@test.example in "*@*"?
+  list element: *@*
+  address match test: subject=random@test.example pattern=*@*
+  test.example in "*"?
+   list element: *
+   test.example in "*"? yes (matched "*")
+  random@test.example in "*@*"? yes (matched "*@*")
+  search_open: lsearch "TESTSUITE/aux-fixed/0471.rw"
+    cached open
+  search_find: file="TESTSUITE/aux-fixed/0471.rw"
+    key="test.example" partial=2 affix=*. starflags=0 opts=NULL
+  LRU list:
+    0TESTSUITE/aux-fixed/0471.rw
+    End
+  internal_search_find: file="TESTSUITE/aux-fixed/0471.rw"
+    type=lsearch key="test.example" opts=NULL
+  cached data used for lookup of test.example
+    in TESTSUITE/aux-fixed/0471.rw
+  lookup yielded: rwtest.example
 LOG: address_rewrite MAIN
-  "random@test.example" from to: rewritten as "random@rwtest.example" by rule 1
+  "random@test.example" from to: rewritten as "random@rwtest.example" by rule 2
 newlen=4237 newtype=T newtext:
 To: random@rwtest.example,
     random@rwtest.example,
@@ -16646,23 +17514,32 @@ remainder: random@test.example,
     random@test.example,
     random@test.example,
     random@test.example
-address match test: subject=random@test.example pattern=*@*
-test.example in "*"? yes (matched "*")
-random@test.example in "*@*"? yes (matched "*@*")
- search_open: lsearch "TESTSUITE/aux-fixed/0471.rw"
-   cached open
- search_find: file="TESTSUITE/aux-fixed/0471.rw"
-   key="test.example" partial=2 affix=*. starflags=0 opts=NULL
- LRU list:
-   0TESTSUITE/aux-fixed/0471.rw
-   End
- internal_search_find: file="TESTSUITE/aux-fixed/0471.rw"
-   type=lsearch key="test.example" opts=NULL
- cached data used for lookup of test.example
-   in TESTSUITE/aux-fixed/0471.rw
- lookup yielded: rwtest.example
+ random@test.example in "^.{40,}@*"?
+  list element: ^.{40,}@*
+  address match test: subject=random@test.example pattern=^.{40,}@*
+  compiled RE '^.{40,}@*' found in local cache
+ random@test.example in "^.{40,}@*"? no (end of list)
+ random@test.example in "*@*"?
+  list element: *@*
+  address match test: subject=random@test.example pattern=*@*
+  test.example in "*"?
+   list element: *
+   test.example in "*"? yes (matched "*")
+  random@test.example in "*@*"? yes (matched "*@*")
+  search_open: lsearch "TESTSUITE/aux-fixed/0471.rw"
+    cached open
+  search_find: file="TESTSUITE/aux-fixed/0471.rw"
+    key="test.example" partial=2 affix=*. starflags=0 opts=NULL
+  LRU list:
+    0TESTSUITE/aux-fixed/0471.rw
+    End
+  internal_search_find: file="TESTSUITE/aux-fixed/0471.rw"
+    type=lsearch key="test.example" opts=NULL
+  cached data used for lookup of test.example
+    in TESTSUITE/aux-fixed/0471.rw
+  lookup yielded: rwtest.example
 LOG: address_rewrite MAIN
-  "random@test.example" from to: rewritten as "random@rwtest.example" by rule 1
+  "random@test.example" from to: rewritten as "random@rwtest.example" by rule 2
 newlen=4239 newtype=T newtext:
 To: random@rwtest.example,
     random@rwtest.example,
@@ -16805,23 +17682,32 @@ remainder: random@test.example,
     random@test.example,
     random@test.example,
     random@test.example
-address match test: subject=random@test.example pattern=*@*
-test.example in "*"? yes (matched "*")
-random@test.example in "*@*"? yes (matched "*@*")
- search_open: lsearch "TESTSUITE/aux-fixed/0471.rw"
-   cached open
- search_find: file="TESTSUITE/aux-fixed/0471.rw"
-   key="test.example" partial=2 affix=*. starflags=0 opts=NULL
- LRU list:
-   0TESTSUITE/aux-fixed/0471.rw
-   End
- internal_search_find: file="TESTSUITE/aux-fixed/0471.rw"
-   type=lsearch key="test.example" opts=NULL
- cached data used for lookup of test.example
-   in TESTSUITE/aux-fixed/0471.rw
- lookup yielded: rwtest.example
+ random@test.example in "^.{40,}@*"?
+  list element: ^.{40,}@*
+  address match test: subject=random@test.example pattern=^.{40,}@*
+  compiled RE '^.{40,}@*' found in local cache
+ random@test.example in "^.{40,}@*"? no (end of list)
+ random@test.example in "*@*"?
+  list element: *@*
+  address match test: subject=random@test.example pattern=*@*
+  test.example in "*"?
+   list element: *
+   test.example in "*"? yes (matched "*")
+  random@test.example in "*@*"? yes (matched "*@*")
+  search_open: lsearch "TESTSUITE/aux-fixed/0471.rw"
+    cached open
+  search_find: file="TESTSUITE/aux-fixed/0471.rw"
+    key="test.example" partial=2 affix=*. starflags=0 opts=NULL
+  LRU list:
+    0TESTSUITE/aux-fixed/0471.rw
+    End
+  internal_search_find: file="TESTSUITE/aux-fixed/0471.rw"
+    type=lsearch key="test.example" opts=NULL
+  cached data used for lookup of test.example
+    in TESTSUITE/aux-fixed/0471.rw
+  lookup yielded: rwtest.example
 LOG: address_rewrite MAIN
-  "random@test.example" from to: rewritten as "random@rwtest.example" by rule 1
+  "random@test.example" from to: rewritten as "random@rwtest.example" by rule 2
 newlen=4241 newtype=T newtext:
 To: random@rwtest.example,
     random@rwtest.example,
@@ -16963,23 +17849,32 @@ remainder: random@test.example,
     random@test.example,
     random@test.example,
     random@test.example
-address match test: subject=random@test.example pattern=*@*
-test.example in "*"? yes (matched "*")
-random@test.example in "*@*"? yes (matched "*@*")
- search_open: lsearch "TESTSUITE/aux-fixed/0471.rw"
-   cached open
- search_find: file="TESTSUITE/aux-fixed/0471.rw"
-   key="test.example" partial=2 affix=*. starflags=0 opts=NULL
- LRU list:
-   0TESTSUITE/aux-fixed/0471.rw
-   End
- internal_search_find: file="TESTSUITE/aux-fixed/0471.rw"
-   type=lsearch key="test.example" opts=NULL
- cached data used for lookup of test.example
-   in TESTSUITE/aux-fixed/0471.rw
- lookup yielded: rwtest.example
+ random@test.example in "^.{40,}@*"?
+  list element: ^.{40,}@*
+  address match test: subject=random@test.example pattern=^.{40,}@*
+  compiled RE '^.{40,}@*' found in local cache
+ random@test.example in "^.{40,}@*"? no (end of list)
+ random@test.example in "*@*"?
+  list element: *@*
+  address match test: subject=random@test.example pattern=*@*
+  test.example in "*"?
+   list element: *
+   test.example in "*"? yes (matched "*")
+  random@test.example in "*@*"? yes (matched "*@*")
+  search_open: lsearch "TESTSUITE/aux-fixed/0471.rw"
+    cached open
+  search_find: file="TESTSUITE/aux-fixed/0471.rw"
+    key="test.example" partial=2 affix=*. starflags=0 opts=NULL
+  LRU list:
+    0TESTSUITE/aux-fixed/0471.rw
+    End
+  internal_search_find: file="TESTSUITE/aux-fixed/0471.rw"
+    type=lsearch key="test.example" opts=NULL
+  cached data used for lookup of test.example
+    in TESTSUITE/aux-fixed/0471.rw
+  lookup yielded: rwtest.example
 LOG: address_rewrite MAIN
-  "random@test.example" from to: rewritten as "random@rwtest.example" by rule 1
+  "random@test.example" from to: rewritten as "random@rwtest.example" by rule 2
 newlen=4243 newtype=T newtext:
 To: random@rwtest.example,
     random@rwtest.example,
@@ -17120,23 +18015,32 @@ remainder: random@test.example,
     random@test.example,
     random@test.example,
     random@test.example
-address match test: subject=random@test.example pattern=*@*
-test.example in "*"? yes (matched "*")
-random@test.example in "*@*"? yes (matched "*@*")
- search_open: lsearch "TESTSUITE/aux-fixed/0471.rw"
-   cached open
- search_find: file="TESTSUITE/aux-fixed/0471.rw"
-   key="test.example" partial=2 affix=*. starflags=0 opts=NULL
- LRU list:
-   0TESTSUITE/aux-fixed/0471.rw
-   End
- internal_search_find: file="TESTSUITE/aux-fixed/0471.rw"
-   type=lsearch key="test.example" opts=NULL
- cached data used for lookup of test.example
-   in TESTSUITE/aux-fixed/0471.rw
- lookup yielded: rwtest.example
+ random@test.example in "^.{40,}@*"?
+  list element: ^.{40,}@*
+  address match test: subject=random@test.example pattern=^.{40,}@*
+  compiled RE '^.{40,}@*' found in local cache
+ random@test.example in "^.{40,}@*"? no (end of list)
+ random@test.example in "*@*"?
+  list element: *@*
+  address match test: subject=random@test.example pattern=*@*
+  test.example in "*"?
+   list element: *
+   test.example in "*"? yes (matched "*")
+  random@test.example in "*@*"? yes (matched "*@*")
+  search_open: lsearch "TESTSUITE/aux-fixed/0471.rw"
+    cached open
+  search_find: file="TESTSUITE/aux-fixed/0471.rw"
+    key="test.example" partial=2 affix=*. starflags=0 opts=NULL
+  LRU list:
+    0TESTSUITE/aux-fixed/0471.rw
+    End
+  internal_search_find: file="TESTSUITE/aux-fixed/0471.rw"
+    type=lsearch key="test.example" opts=NULL
+  cached data used for lookup of test.example
+    in TESTSUITE/aux-fixed/0471.rw
+  lookup yielded: rwtest.example
 LOG: address_rewrite MAIN
-  "random@test.example" from to: rewritten as "random@rwtest.example" by rule 1
+  "random@test.example" from to: rewritten as "random@rwtest.example" by rule 2
 newlen=4245 newtype=T newtext:
 To: random@rwtest.example,
     random@rwtest.example,
@@ -17276,23 +18180,32 @@ remainder: random@test.example,
     random@test.example,
     random@test.example,
     random@test.example
-address match test: subject=random@test.example pattern=*@*
-test.example in "*"? yes (matched "*")
-random@test.example in "*@*"? yes (matched "*@*")
- search_open: lsearch "TESTSUITE/aux-fixed/0471.rw"
-   cached open
- search_find: file="TESTSUITE/aux-fixed/0471.rw"
-   key="test.example" partial=2 affix=*. starflags=0 opts=NULL
- LRU list:
-   0TESTSUITE/aux-fixed/0471.rw
-   End
- internal_search_find: file="TESTSUITE/aux-fixed/0471.rw"
-   type=lsearch key="test.example" opts=NULL
- cached data used for lookup of test.example
-   in TESTSUITE/aux-fixed/0471.rw
- lookup yielded: rwtest.example
+ random@test.example in "^.{40,}@*"?
+  list element: ^.{40,}@*
+  address match test: subject=random@test.example pattern=^.{40,}@*
+  compiled RE '^.{40,}@*' found in local cache
+ random@test.example in "^.{40,}@*"? no (end of list)
+ random@test.example in "*@*"?
+  list element: *@*
+  address match test: subject=random@test.example pattern=*@*
+  test.example in "*"?
+   list element: *
+   test.example in "*"? yes (matched "*")
+  random@test.example in "*@*"? yes (matched "*@*")
+  search_open: lsearch "TESTSUITE/aux-fixed/0471.rw"
+    cached open
+  search_find: file="TESTSUITE/aux-fixed/0471.rw"
+    key="test.example" partial=2 affix=*. starflags=0 opts=NULL
+  LRU list:
+    0TESTSUITE/aux-fixed/0471.rw
+    End
+  internal_search_find: file="TESTSUITE/aux-fixed/0471.rw"
+    type=lsearch key="test.example" opts=NULL
+  cached data used for lookup of test.example
+    in TESTSUITE/aux-fixed/0471.rw
+  lookup yielded: rwtest.example
 LOG: address_rewrite MAIN
-  "random@test.example" from to: rewritten as "random@rwtest.example" by rule 1
+  "random@test.example" from to: rewritten as "random@rwtest.example" by rule 2
 newlen=4247 newtype=T newtext:
 To: random@rwtest.example,
     random@rwtest.example,
@@ -17431,23 +18344,32 @@ remainder: random@test.example,
     random@test.example,
     random@test.example,
     random@test.example
-address match test: subject=random@test.example pattern=*@*
-test.example in "*"? yes (matched "*")
-random@test.example in "*@*"? yes (matched "*@*")
- search_open: lsearch "TESTSUITE/aux-fixed/0471.rw"
-   cached open
- search_find: file="TESTSUITE/aux-fixed/0471.rw"
-   key="test.example" partial=2 affix=*. starflags=0 opts=NULL
- LRU list:
-   0TESTSUITE/aux-fixed/0471.rw
-   End
- internal_search_find: file="TESTSUITE/aux-fixed/0471.rw"
-   type=lsearch key="test.example" opts=NULL
- cached data used for lookup of test.example
-   in TESTSUITE/aux-fixed/0471.rw
- lookup yielded: rwtest.example
+ random@test.example in "^.{40,}@*"?
+  list element: ^.{40,}@*
+  address match test: subject=random@test.example pattern=^.{40,}@*
+  compiled RE '^.{40,}@*' found in local cache
+ random@test.example in "^.{40,}@*"? no (end of list)
+ random@test.example in "*@*"?
+  list element: *@*
+  address match test: subject=random@test.example pattern=*@*
+  test.example in "*"?
+   list element: *
+   test.example in "*"? yes (matched "*")
+  random@test.example in "*@*"? yes (matched "*@*")
+  search_open: lsearch "TESTSUITE/aux-fixed/0471.rw"
+    cached open
+  search_find: file="TESTSUITE/aux-fixed/0471.rw"
+    key="test.example" partial=2 affix=*. starflags=0 opts=NULL
+  LRU list:
+    0TESTSUITE/aux-fixed/0471.rw
+    End
+  internal_search_find: file="TESTSUITE/aux-fixed/0471.rw"
+    type=lsearch key="test.example" opts=NULL
+  cached data used for lookup of test.example
+    in TESTSUITE/aux-fixed/0471.rw
+  lookup yielded: rwtest.example
 LOG: address_rewrite MAIN
-  "random@test.example" from to: rewritten as "random@rwtest.example" by rule 1
+  "random@test.example" from to: rewritten as "random@rwtest.example" by rule 2
 newlen=4249 newtype=T newtext:
 To: random@rwtest.example,
     random@rwtest.example,
@@ -17585,23 +18507,32 @@ remainder: random@test.example,
     random@test.example,
     random@test.example,
     random@test.example
-address match test: subject=random@test.example pattern=*@*
-test.example in "*"? yes (matched "*")
-random@test.example in "*@*"? yes (matched "*@*")
- search_open: lsearch "TESTSUITE/aux-fixed/0471.rw"
-   cached open
- search_find: file="TESTSUITE/aux-fixed/0471.rw"
-   key="test.example" partial=2 affix=*. starflags=0 opts=NULL
- LRU list:
-   0TESTSUITE/aux-fixed/0471.rw
-   End
- internal_search_find: file="TESTSUITE/aux-fixed/0471.rw"
-   type=lsearch key="test.example" opts=NULL
- cached data used for lookup of test.example
-   in TESTSUITE/aux-fixed/0471.rw
- lookup yielded: rwtest.example
+ random@test.example in "^.{40,}@*"?
+  list element: ^.{40,}@*
+  address match test: subject=random@test.example pattern=^.{40,}@*
+  compiled RE '^.{40,}@*' found in local cache
+ random@test.example in "^.{40,}@*"? no (end of list)
+ random@test.example in "*@*"?
+  list element: *@*
+  address match test: subject=random@test.example pattern=*@*
+  test.example in "*"?
+   list element: *
+   test.example in "*"? yes (matched "*")
+  random@test.example in "*@*"? yes (matched "*@*")
+  search_open: lsearch "TESTSUITE/aux-fixed/0471.rw"
+    cached open
+  search_find: file="TESTSUITE/aux-fixed/0471.rw"
+    key="test.example" partial=2 affix=*. starflags=0 opts=NULL
+  LRU list:
+    0TESTSUITE/aux-fixed/0471.rw
+    End
+  internal_search_find: file="TESTSUITE/aux-fixed/0471.rw"
+    type=lsearch key="test.example" opts=NULL
+  cached data used for lookup of test.example
+    in TESTSUITE/aux-fixed/0471.rw
+  lookup yielded: rwtest.example
 LOG: address_rewrite MAIN
-  "random@test.example" from to: rewritten as "random@rwtest.example" by rule 1
+  "random@test.example" from to: rewritten as "random@rwtest.example" by rule 2
 newlen=4251 newtype=T newtext:
 To: random@rwtest.example,
     random@rwtest.example,
@@ -17738,23 +18669,32 @@ remainder: random@test.example,
     random@test.example,
     random@test.example,
     random@test.example
-address match test: subject=random@test.example pattern=*@*
-test.example in "*"? yes (matched "*")
-random@test.example in "*@*"? yes (matched "*@*")
- search_open: lsearch "TESTSUITE/aux-fixed/0471.rw"
-   cached open
- search_find: file="TESTSUITE/aux-fixed/0471.rw"
-   key="test.example" partial=2 affix=*. starflags=0 opts=NULL
- LRU list:
-   0TESTSUITE/aux-fixed/0471.rw
-   End
- internal_search_find: file="TESTSUITE/aux-fixed/0471.rw"
-   type=lsearch key="test.example" opts=NULL
- cached data used for lookup of test.example
-   in TESTSUITE/aux-fixed/0471.rw
- lookup yielded: rwtest.example
+ random@test.example in "^.{40,}@*"?
+  list element: ^.{40,}@*
+  address match test: subject=random@test.example pattern=^.{40,}@*
+  compiled RE '^.{40,}@*' found in local cache
+ random@test.example in "^.{40,}@*"? no (end of list)
+ random@test.example in "*@*"?
+  list element: *@*
+  address match test: subject=random@test.example pattern=*@*
+  test.example in "*"?
+   list element: *
+   test.example in "*"? yes (matched "*")
+  random@test.example in "*@*"? yes (matched "*@*")
+  search_open: lsearch "TESTSUITE/aux-fixed/0471.rw"
+    cached open
+  search_find: file="TESTSUITE/aux-fixed/0471.rw"
+    key="test.example" partial=2 affix=*. starflags=0 opts=NULL
+  LRU list:
+    0TESTSUITE/aux-fixed/0471.rw
+    End
+  internal_search_find: file="TESTSUITE/aux-fixed/0471.rw"
+    type=lsearch key="test.example" opts=NULL
+  cached data used for lookup of test.example
+    in TESTSUITE/aux-fixed/0471.rw
+  lookup yielded: rwtest.example
 LOG: address_rewrite MAIN
-  "random@test.example" from to: rewritten as "random@rwtest.example" by rule 1
+  "random@test.example" from to: rewritten as "random@rwtest.example" by rule 2
 newlen=4253 newtype=T newtext:
 To: random@rwtest.example,
     random@rwtest.example,
@@ -17890,23 +18830,32 @@ remainder: random@test.example,
     random@test.example,
     random@test.example,
     random@test.example
-address match test: subject=random@test.example pattern=*@*
-test.example in "*"? yes (matched "*")
-random@test.example in "*@*"? yes (matched "*@*")
- search_open: lsearch "TESTSUITE/aux-fixed/0471.rw"
-   cached open
- search_find: file="TESTSUITE/aux-fixed/0471.rw"
-   key="test.example" partial=2 affix=*. starflags=0 opts=NULL
- LRU list:
-   0TESTSUITE/aux-fixed/0471.rw
-   End
- internal_search_find: file="TESTSUITE/aux-fixed/0471.rw"
-   type=lsearch key="test.example" opts=NULL
- cached data used for lookup of test.example
-   in TESTSUITE/aux-fixed/0471.rw
- lookup yielded: rwtest.example
+ random@test.example in "^.{40,}@*"?
+  list element: ^.{40,}@*
+  address match test: subject=random@test.example pattern=^.{40,}@*
+  compiled RE '^.{40,}@*' found in local cache
+ random@test.example in "^.{40,}@*"? no (end of list)
+ random@test.example in "*@*"?
+  list element: *@*
+  address match test: subject=random@test.example pattern=*@*
+  test.example in "*"?
+   list element: *
+   test.example in "*"? yes (matched "*")
+  random@test.example in "*@*"? yes (matched "*@*")
+  search_open: lsearch "TESTSUITE/aux-fixed/0471.rw"
+    cached open
+  search_find: file="TESTSUITE/aux-fixed/0471.rw"
+    key="test.example" partial=2 affix=*. starflags=0 opts=NULL
+  LRU list:
+    0TESTSUITE/aux-fixed/0471.rw
+    End
+  internal_search_find: file="TESTSUITE/aux-fixed/0471.rw"
+    type=lsearch key="test.example" opts=NULL
+  cached data used for lookup of test.example
+    in TESTSUITE/aux-fixed/0471.rw
+  lookup yielded: rwtest.example
 LOG: address_rewrite MAIN
-  "random@test.example" from to: rewritten as "random@rwtest.example" by rule 1
+  "random@test.example" from to: rewritten as "random@rwtest.example" by rule 2
 newlen=4255 newtype=T newtext:
 To: random@rwtest.example,
     random@rwtest.example,
@@ -18041,23 +18990,32 @@ remainder: random@test.example,
     random@test.example,
     random@test.example,
     random@test.example
-address match test: subject=random@test.example pattern=*@*
-test.example in "*"? yes (matched "*")
-random@test.example in "*@*"? yes (matched "*@*")
- search_open: lsearch "TESTSUITE/aux-fixed/0471.rw"
-   cached open
- search_find: file="TESTSUITE/aux-fixed/0471.rw"
-   key="test.example" partial=2 affix=*. starflags=0 opts=NULL
- LRU list:
-   0TESTSUITE/aux-fixed/0471.rw
-   End
- internal_search_find: file="TESTSUITE/aux-fixed/0471.rw"
-   type=lsearch key="test.example" opts=NULL
- cached data used for lookup of test.example
-   in TESTSUITE/aux-fixed/0471.rw
- lookup yielded: rwtest.example
+ random@test.example in "^.{40,}@*"?
+  list element: ^.{40,}@*
+  address match test: subject=random@test.example pattern=^.{40,}@*
+  compiled RE '^.{40,}@*' found in local cache
+ random@test.example in "^.{40,}@*"? no (end of list)
+ random@test.example in "*@*"?
+  list element: *@*
+  address match test: subject=random@test.example pattern=*@*
+  test.example in "*"?
+   list element: *
+   test.example in "*"? yes (matched "*")
+  random@test.example in "*@*"? yes (matched "*@*")
+  search_open: lsearch "TESTSUITE/aux-fixed/0471.rw"
+    cached open
+  search_find: file="TESTSUITE/aux-fixed/0471.rw"
+    key="test.example" partial=2 affix=*. starflags=0 opts=NULL
+  LRU list:
+    0TESTSUITE/aux-fixed/0471.rw
+    End
+  internal_search_find: file="TESTSUITE/aux-fixed/0471.rw"
+    type=lsearch key="test.example" opts=NULL
+  cached data used for lookup of test.example
+    in TESTSUITE/aux-fixed/0471.rw
+  lookup yielded: rwtest.example
 LOG: address_rewrite MAIN
-  "random@test.example" from to: rewritten as "random@rwtest.example" by rule 1
+  "random@test.example" from to: rewritten as "random@rwtest.example" by rule 2
 newlen=4257 newtype=T newtext:
 To: random@rwtest.example,
     random@rwtest.example,
@@ -18191,23 +19149,32 @@ remainder: random@test.example,
     random@test.example,
     random@test.example,
     random@test.example
-address match test: subject=random@test.example pattern=*@*
-test.example in "*"? yes (matched "*")
-random@test.example in "*@*"? yes (matched "*@*")
- search_open: lsearch "TESTSUITE/aux-fixed/0471.rw"
-   cached open
- search_find: file="TESTSUITE/aux-fixed/0471.rw"
-   key="test.example" partial=2 affix=*. starflags=0 opts=NULL
- LRU list:
-   0TESTSUITE/aux-fixed/0471.rw
-   End
- internal_search_find: file="TESTSUITE/aux-fixed/0471.rw"
-   type=lsearch key="test.example" opts=NULL
- cached data used for lookup of test.example
-   in TESTSUITE/aux-fixed/0471.rw
- lookup yielded: rwtest.example
+ random@test.example in "^.{40,}@*"?
+  list element: ^.{40,}@*
+  address match test: subject=random@test.example pattern=^.{40,}@*
+  compiled RE '^.{40,}@*' found in local cache
+ random@test.example in "^.{40,}@*"? no (end of list)
+ random@test.example in "*@*"?
+  list element: *@*
+  address match test: subject=random@test.example pattern=*@*
+  test.example in "*"?
+   list element: *
+   test.example in "*"? yes (matched "*")
+  random@test.example in "*@*"? yes (matched "*@*")
+  search_open: lsearch "TESTSUITE/aux-fixed/0471.rw"
+    cached open
+  search_find: file="TESTSUITE/aux-fixed/0471.rw"
+    key="test.example" partial=2 affix=*. starflags=0 opts=NULL
+  LRU list:
+    0TESTSUITE/aux-fixed/0471.rw
+    End
+  internal_search_find: file="TESTSUITE/aux-fixed/0471.rw"
+    type=lsearch key="test.example" opts=NULL
+  cached data used for lookup of test.example
+    in TESTSUITE/aux-fixed/0471.rw
+  lookup yielded: rwtest.example
 LOG: address_rewrite MAIN
-  "random@test.example" from to: rewritten as "random@rwtest.example" by rule 1
+  "random@test.example" from to: rewritten as "random@rwtest.example" by rule 2
 newlen=4259 newtype=T newtext:
 To: random@rwtest.example,
     random@rwtest.example,
@@ -18340,23 +19307,32 @@ remainder: random@test.example,
     random@test.example,
     random@test.example,
     random@test.example
-address match test: subject=random@test.example pattern=*@*
-test.example in "*"? yes (matched "*")
-random@test.example in "*@*"? yes (matched "*@*")
- search_open: lsearch "TESTSUITE/aux-fixed/0471.rw"
-   cached open
- search_find: file="TESTSUITE/aux-fixed/0471.rw"
-   key="test.example" partial=2 affix=*. starflags=0 opts=NULL
- LRU list:
-   0TESTSUITE/aux-fixed/0471.rw
-   End
- internal_search_find: file="TESTSUITE/aux-fixed/0471.rw"
-   type=lsearch key="test.example" opts=NULL
- cached data used for lookup of test.example
-   in TESTSUITE/aux-fixed/0471.rw
- lookup yielded: rwtest.example
+ random@test.example in "^.{40,}@*"?
+  list element: ^.{40,}@*
+  address match test: subject=random@test.example pattern=^.{40,}@*
+  compiled RE '^.{40,}@*' found in local cache
+ random@test.example in "^.{40,}@*"? no (end of list)
+ random@test.example in "*@*"?
+  list element: *@*
+  address match test: subject=random@test.example pattern=*@*
+  test.example in "*"?
+   list element: *
+   test.example in "*"? yes (matched "*")
+  random@test.example in "*@*"? yes (matched "*@*")
+  search_open: lsearch "TESTSUITE/aux-fixed/0471.rw"
+    cached open
+  search_find: file="TESTSUITE/aux-fixed/0471.rw"
+    key="test.example" partial=2 affix=*. starflags=0 opts=NULL
+  LRU list:
+    0TESTSUITE/aux-fixed/0471.rw
+    End
+  internal_search_find: file="TESTSUITE/aux-fixed/0471.rw"
+    type=lsearch key="test.example" opts=NULL
+  cached data used for lookup of test.example
+    in TESTSUITE/aux-fixed/0471.rw
+  lookup yielded: rwtest.example
 LOG: address_rewrite MAIN
-  "random@test.example" from to: rewritten as "random@rwtest.example" by rule 1
+  "random@test.example" from to: rewritten as "random@rwtest.example" by rule 2
 newlen=4261 newtype=T newtext:
 To: random@rwtest.example,
     random@rwtest.example,
@@ -18488,23 +19464,32 @@ remainder: random@test.example,
     random@test.example,
     random@test.example,
     random@test.example
-address match test: subject=random@test.example pattern=*@*
-test.example in "*"? yes (matched "*")
-random@test.example in "*@*"? yes (matched "*@*")
- search_open: lsearch "TESTSUITE/aux-fixed/0471.rw"
-   cached open
- search_find: file="TESTSUITE/aux-fixed/0471.rw"
-   key="test.example" partial=2 affix=*. starflags=0 opts=NULL
- LRU list:
-   0TESTSUITE/aux-fixed/0471.rw
-   End
- internal_search_find: file="TESTSUITE/aux-fixed/0471.rw"
-   type=lsearch key="test.example" opts=NULL
- cached data used for lookup of test.example
-   in TESTSUITE/aux-fixed/0471.rw
- lookup yielded: rwtest.example
+ random@test.example in "^.{40,}@*"?
+  list element: ^.{40,}@*
+  address match test: subject=random@test.example pattern=^.{40,}@*
+  compiled RE '^.{40,}@*' found in local cache
+ random@test.example in "^.{40,}@*"? no (end of list)
+ random@test.example in "*@*"?
+  list element: *@*
+  address match test: subject=random@test.example pattern=*@*
+  test.example in "*"?
+   list element: *
+   test.example in "*"? yes (matched "*")
+  random@test.example in "*@*"? yes (matched "*@*")
+  search_open: lsearch "TESTSUITE/aux-fixed/0471.rw"
+    cached open
+  search_find: file="TESTSUITE/aux-fixed/0471.rw"
+    key="test.example" partial=2 affix=*. starflags=0 opts=NULL
+  LRU list:
+    0TESTSUITE/aux-fixed/0471.rw
+    End
+  internal_search_find: file="TESTSUITE/aux-fixed/0471.rw"
+    type=lsearch key="test.example" opts=NULL
+  cached data used for lookup of test.example
+    in TESTSUITE/aux-fixed/0471.rw
+  lookup yielded: rwtest.example
 LOG: address_rewrite MAIN
-  "random@test.example" from to: rewritten as "random@rwtest.example" by rule 1
+  "random@test.example" from to: rewritten as "random@rwtest.example" by rule 2
 newlen=4263 newtype=T newtext:
 To: random@rwtest.example,
     random@rwtest.example,
@@ -18635,23 +19620,32 @@ remainder: random@test.example,
     random@test.example,
     random@test.example,
     random@test.example
-address match test: subject=random@test.example pattern=*@*
-test.example in "*"? yes (matched "*")
-random@test.example in "*@*"? yes (matched "*@*")
- search_open: lsearch "TESTSUITE/aux-fixed/0471.rw"
-   cached open
- search_find: file="TESTSUITE/aux-fixed/0471.rw"
-   key="test.example" partial=2 affix=*. starflags=0 opts=NULL
- LRU list:
-   0TESTSUITE/aux-fixed/0471.rw
-   End
- internal_search_find: file="TESTSUITE/aux-fixed/0471.rw"
-   type=lsearch key="test.example" opts=NULL
- cached data used for lookup of test.example
-   in TESTSUITE/aux-fixed/0471.rw
- lookup yielded: rwtest.example
+ random@test.example in "^.{40,}@*"?
+  list element: ^.{40,}@*
+  address match test: subject=random@test.example pattern=^.{40,}@*
+  compiled RE '^.{40,}@*' found in local cache
+ random@test.example in "^.{40,}@*"? no (end of list)
+ random@test.example in "*@*"?
+  list element: *@*
+  address match test: subject=random@test.example pattern=*@*
+  test.example in "*"?
+   list element: *
+   test.example in "*"? yes (matched "*")
+  random@test.example in "*@*"? yes (matched "*@*")
+  search_open: lsearch "TESTSUITE/aux-fixed/0471.rw"
+    cached open
+  search_find: file="TESTSUITE/aux-fixed/0471.rw"
+    key="test.example" partial=2 affix=*. starflags=0 opts=NULL
+  LRU list:
+    0TESTSUITE/aux-fixed/0471.rw
+    End
+  internal_search_find: file="TESTSUITE/aux-fixed/0471.rw"
+    type=lsearch key="test.example" opts=NULL
+  cached data used for lookup of test.example
+    in TESTSUITE/aux-fixed/0471.rw
+  lookup yielded: rwtest.example
 LOG: address_rewrite MAIN
-  "random@test.example" from to: rewritten as "random@rwtest.example" by rule 1
+  "random@test.example" from to: rewritten as "random@rwtest.example" by rule 2
 newlen=4265 newtype=T newtext:
 To: random@rwtest.example,
     random@rwtest.example,
@@ -18781,23 +19775,32 @@ remainder: random@test.example,
     random@test.example,
     random@test.example,
     random@test.example
-address match test: subject=random@test.example pattern=*@*
-test.example in "*"? yes (matched "*")
-random@test.example in "*@*"? yes (matched "*@*")
- search_open: lsearch "TESTSUITE/aux-fixed/0471.rw"
-   cached open
- search_find: file="TESTSUITE/aux-fixed/0471.rw"
-   key="test.example" partial=2 affix=*. starflags=0 opts=NULL
- LRU list:
-   0TESTSUITE/aux-fixed/0471.rw
-   End
- internal_search_find: file="TESTSUITE/aux-fixed/0471.rw"
-   type=lsearch key="test.example" opts=NULL
- cached data used for lookup of test.example
-   in TESTSUITE/aux-fixed/0471.rw
- lookup yielded: rwtest.example
+ random@test.example in "^.{40,}@*"?
+  list element: ^.{40,}@*
+  address match test: subject=random@test.example pattern=^.{40,}@*
+  compiled RE '^.{40,}@*' found in local cache
+ random@test.example in "^.{40,}@*"? no (end of list)
+ random@test.example in "*@*"?
+  list element: *@*
+  address match test: subject=random@test.example pattern=*@*
+  test.example in "*"?
+   list element: *
+   test.example in "*"? yes (matched "*")
+  random@test.example in "*@*"? yes (matched "*@*")
+  search_open: lsearch "TESTSUITE/aux-fixed/0471.rw"
+    cached open
+  search_find: file="TESTSUITE/aux-fixed/0471.rw"
+    key="test.example" partial=2 affix=*. starflags=0 opts=NULL
+  LRU list:
+    0TESTSUITE/aux-fixed/0471.rw
+    End
+  internal_search_find: file="TESTSUITE/aux-fixed/0471.rw"
+    type=lsearch key="test.example" opts=NULL
+  cached data used for lookup of test.example
+    in TESTSUITE/aux-fixed/0471.rw
+  lookup yielded: rwtest.example
 LOG: address_rewrite MAIN
-  "random@test.example" from to: rewritten as "random@rwtest.example" by rule 1
+  "random@test.example" from to: rewritten as "random@rwtest.example" by rule 2
 newlen=4267 newtype=T newtext:
 To: random@rwtest.example,
     random@rwtest.example,
@@ -18926,23 +19929,32 @@ remainder: random@test.example,
     random@test.example,
     random@test.example,
     random@test.example
-address match test: subject=random@test.example pattern=*@*
-test.example in "*"? yes (matched "*")
-random@test.example in "*@*"? yes (matched "*@*")
- search_open: lsearch "TESTSUITE/aux-fixed/0471.rw"
-   cached open
- search_find: file="TESTSUITE/aux-fixed/0471.rw"
-   key="test.example" partial=2 affix=*. starflags=0 opts=NULL
- LRU list:
-   0TESTSUITE/aux-fixed/0471.rw
-   End
- internal_search_find: file="TESTSUITE/aux-fixed/0471.rw"
-   type=lsearch key="test.example" opts=NULL
- cached data used for lookup of test.example
-   in TESTSUITE/aux-fixed/0471.rw
- lookup yielded: rwtest.example
+ random@test.example in "^.{40,}@*"?
+  list element: ^.{40,}@*
+  address match test: subject=random@test.example pattern=^.{40,}@*
+  compiled RE '^.{40,}@*' found in local cache
+ random@test.example in "^.{40,}@*"? no (end of list)
+ random@test.example in "*@*"?
+  list element: *@*
+  address match test: subject=random@test.example pattern=*@*
+  test.example in "*"?
+   list element: *
+   test.example in "*"? yes (matched "*")
+  random@test.example in "*@*"? yes (matched "*@*")
+  search_open: lsearch "TESTSUITE/aux-fixed/0471.rw"
+    cached open
+  search_find: file="TESTSUITE/aux-fixed/0471.rw"
+    key="test.example" partial=2 affix=*. starflags=0 opts=NULL
+  LRU list:
+    0TESTSUITE/aux-fixed/0471.rw
+    End
+  internal_search_find: file="TESTSUITE/aux-fixed/0471.rw"
+    type=lsearch key="test.example" opts=NULL
+  cached data used for lookup of test.example
+    in TESTSUITE/aux-fixed/0471.rw
+  lookup yielded: rwtest.example
 LOG: address_rewrite MAIN
-  "random@test.example" from to: rewritten as "random@rwtest.example" by rule 1
+  "random@test.example" from to: rewritten as "random@rwtest.example" by rule 2
 newlen=4269 newtype=T newtext:
 To: random@rwtest.example,
     random@rwtest.example,
@@ -19070,23 +20082,32 @@ remainder: random@test.example,
     random@test.example,
     random@test.example,
     random@test.example
-address match test: subject=random@test.example pattern=*@*
-test.example in "*"? yes (matched "*")
-random@test.example in "*@*"? yes (matched "*@*")
- search_open: lsearch "TESTSUITE/aux-fixed/0471.rw"
-   cached open
- search_find: file="TESTSUITE/aux-fixed/0471.rw"
-   key="test.example" partial=2 affix=*. starflags=0 opts=NULL
- LRU list:
-   0TESTSUITE/aux-fixed/0471.rw
-   End
- internal_search_find: file="TESTSUITE/aux-fixed/0471.rw"
-   type=lsearch key="test.example" opts=NULL
- cached data used for lookup of test.example
-   in TESTSUITE/aux-fixed/0471.rw
- lookup yielded: rwtest.example
+ random@test.example in "^.{40,}@*"?
+  list element: ^.{40,}@*
+  address match test: subject=random@test.example pattern=^.{40,}@*
+  compiled RE '^.{40,}@*' found in local cache
+ random@test.example in "^.{40,}@*"? no (end of list)
+ random@test.example in "*@*"?
+  list element: *@*
+  address match test: subject=random@test.example pattern=*@*
+  test.example in "*"?
+   list element: *
+   test.example in "*"? yes (matched "*")
+  random@test.example in "*@*"? yes (matched "*@*")
+  search_open: lsearch "TESTSUITE/aux-fixed/0471.rw"
+    cached open
+  search_find: file="TESTSUITE/aux-fixed/0471.rw"
+    key="test.example" partial=2 affix=*. starflags=0 opts=NULL
+  LRU list:
+    0TESTSUITE/aux-fixed/0471.rw
+    End
+  internal_search_find: file="TESTSUITE/aux-fixed/0471.rw"
+    type=lsearch key="test.example" opts=NULL
+  cached data used for lookup of test.example
+    in TESTSUITE/aux-fixed/0471.rw
+  lookup yielded: rwtest.example
 LOG: address_rewrite MAIN
-  "random@test.example" from to: rewritten as "random@rwtest.example" by rule 1
+  "random@test.example" from to: rewritten as "random@rwtest.example" by rule 2
 newlen=4271 newtype=T newtext:
 To: random@rwtest.example,
     random@rwtest.example,
@@ -19213,23 +20234,32 @@ remainder: random@test.example,
     random@test.example,
     random@test.example,
     random@test.example
-address match test: subject=random@test.example pattern=*@*
-test.example in "*"? yes (matched "*")
-random@test.example in "*@*"? yes (matched "*@*")
- search_open: lsearch "TESTSUITE/aux-fixed/0471.rw"
-   cached open
- search_find: file="TESTSUITE/aux-fixed/0471.rw"
-   key="test.example" partial=2 affix=*. starflags=0 opts=NULL
- LRU list:
-   0TESTSUITE/aux-fixed/0471.rw
-   End
- internal_search_find: file="TESTSUITE/aux-fixed/0471.rw"
-   type=lsearch key="test.example" opts=NULL
- cached data used for lookup of test.example
-   in TESTSUITE/aux-fixed/0471.rw
- lookup yielded: rwtest.example
+ random@test.example in "^.{40,}@*"?
+  list element: ^.{40,}@*
+  address match test: subject=random@test.example pattern=^.{40,}@*
+  compiled RE '^.{40,}@*' found in local cache
+ random@test.example in "^.{40,}@*"? no (end of list)
+ random@test.example in "*@*"?
+  list element: *@*
+  address match test: subject=random@test.example pattern=*@*
+  test.example in "*"?
+   list element: *
+   test.example in "*"? yes (matched "*")
+  random@test.example in "*@*"? yes (matched "*@*")
+  search_open: lsearch "TESTSUITE/aux-fixed/0471.rw"
+    cached open
+  search_find: file="TESTSUITE/aux-fixed/0471.rw"
+    key="test.example" partial=2 affix=*. starflags=0 opts=NULL
+  LRU list:
+    0TESTSUITE/aux-fixed/0471.rw
+    End
+  internal_search_find: file="TESTSUITE/aux-fixed/0471.rw"
+    type=lsearch key="test.example" opts=NULL
+  cached data used for lookup of test.example
+    in TESTSUITE/aux-fixed/0471.rw
+  lookup yielded: rwtest.example
 LOG: address_rewrite MAIN
-  "random@test.example" from to: rewritten as "random@rwtest.example" by rule 1
+  "random@test.example" from to: rewritten as "random@rwtest.example" by rule 2
 newlen=4273 newtype=T newtext:
 To: random@rwtest.example,
     random@rwtest.example,
@@ -19355,23 +20385,32 @@ remainder: random@test.example,
     random@test.example,
     random@test.example,
     random@test.example
-address match test: subject=random@test.example pattern=*@*
-test.example in "*"? yes (matched "*")
-random@test.example in "*@*"? yes (matched "*@*")
- search_open: lsearch "TESTSUITE/aux-fixed/0471.rw"
-   cached open
- search_find: file="TESTSUITE/aux-fixed/0471.rw"
-   key="test.example" partial=2 affix=*. starflags=0 opts=NULL
- LRU list:
-   0TESTSUITE/aux-fixed/0471.rw
-   End
- internal_search_find: file="TESTSUITE/aux-fixed/0471.rw"
-   type=lsearch key="test.example" opts=NULL
- cached data used for lookup of test.example
-   in TESTSUITE/aux-fixed/0471.rw
- lookup yielded: rwtest.example
+ random@test.example in "^.{40,}@*"?
+  list element: ^.{40,}@*
+  address match test: subject=random@test.example pattern=^.{40,}@*
+  compiled RE '^.{40,}@*' found in local cache
+ random@test.example in "^.{40,}@*"? no (end of list)
+ random@test.example in "*@*"?
+  list element: *@*
+  address match test: subject=random@test.example pattern=*@*
+  test.example in "*"?
+   list element: *
+   test.example in "*"? yes (matched "*")
+  random@test.example in "*@*"? yes (matched "*@*")
+  search_open: lsearch "TESTSUITE/aux-fixed/0471.rw"
+    cached open
+  search_find: file="TESTSUITE/aux-fixed/0471.rw"
+    key="test.example" partial=2 affix=*. starflags=0 opts=NULL
+  LRU list:
+    0TESTSUITE/aux-fixed/0471.rw
+    End
+  internal_search_find: file="TESTSUITE/aux-fixed/0471.rw"
+    type=lsearch key="test.example" opts=NULL
+  cached data used for lookup of test.example
+    in TESTSUITE/aux-fixed/0471.rw
+  lookup yielded: rwtest.example
 LOG: address_rewrite MAIN
-  "random@test.example" from to: rewritten as "random@rwtest.example" by rule 1
+  "random@test.example" from to: rewritten as "random@rwtest.example" by rule 2
 newlen=4275 newtype=T newtext:
 To: random@rwtest.example,
     random@rwtest.example,
@@ -19496,23 +20535,32 @@ remainder: random@test.example,
     random@test.example,
     random@test.example,
     random@test.example
-address match test: subject=random@test.example pattern=*@*
-test.example in "*"? yes (matched "*")
-random@test.example in "*@*"? yes (matched "*@*")
- search_open: lsearch "TESTSUITE/aux-fixed/0471.rw"
-   cached open
- search_find: file="TESTSUITE/aux-fixed/0471.rw"
-   key="test.example" partial=2 affix=*. starflags=0 opts=NULL
- LRU list:
-   0TESTSUITE/aux-fixed/0471.rw
-   End
- internal_search_find: file="TESTSUITE/aux-fixed/0471.rw"
-   type=lsearch key="test.example" opts=NULL
- cached data used for lookup of test.example
-   in TESTSUITE/aux-fixed/0471.rw
- lookup yielded: rwtest.example
+ random@test.example in "^.{40,}@*"?
+  list element: ^.{40,}@*
+  address match test: subject=random@test.example pattern=^.{40,}@*
+  compiled RE '^.{40,}@*' found in local cache
+ random@test.example in "^.{40,}@*"? no (end of list)
+ random@test.example in "*@*"?
+  list element: *@*
+  address match test: subject=random@test.example pattern=*@*
+  test.example in "*"?
+   list element: *
+   test.example in "*"? yes (matched "*")
+  random@test.example in "*@*"? yes (matched "*@*")
+  search_open: lsearch "TESTSUITE/aux-fixed/0471.rw"
+    cached open
+  search_find: file="TESTSUITE/aux-fixed/0471.rw"
+    key="test.example" partial=2 affix=*. starflags=0 opts=NULL
+  LRU list:
+    0TESTSUITE/aux-fixed/0471.rw
+    End
+  internal_search_find: file="TESTSUITE/aux-fixed/0471.rw"
+    type=lsearch key="test.example" opts=NULL
+  cached data used for lookup of test.example
+    in TESTSUITE/aux-fixed/0471.rw
+  lookup yielded: rwtest.example
 LOG: address_rewrite MAIN
-  "random@test.example" from to: rewritten as "random@rwtest.example" by rule 1
+  "random@test.example" from to: rewritten as "random@rwtest.example" by rule 2
 newlen=4277 newtype=T newtext:
 To: random@rwtest.example,
     random@rwtest.example,
@@ -19636,23 +20684,32 @@ remainder: random@test.example,
     random@test.example,
     random@test.example,
     random@test.example
-address match test: subject=random@test.example pattern=*@*
-test.example in "*"? yes (matched "*")
-random@test.example in "*@*"? yes (matched "*@*")
- search_open: lsearch "TESTSUITE/aux-fixed/0471.rw"
-   cached open
- search_find: file="TESTSUITE/aux-fixed/0471.rw"
-   key="test.example" partial=2 affix=*. starflags=0 opts=NULL
- LRU list:
-   0TESTSUITE/aux-fixed/0471.rw
-   End
- internal_search_find: file="TESTSUITE/aux-fixed/0471.rw"
-   type=lsearch key="test.example" opts=NULL
- cached data used for lookup of test.example
-   in TESTSUITE/aux-fixed/0471.rw
- lookup yielded: rwtest.example
+ random@test.example in "^.{40,}@*"?
+  list element: ^.{40,}@*
+  address match test: subject=random@test.example pattern=^.{40,}@*
+  compiled RE '^.{40,}@*' found in local cache
+ random@test.example in "^.{40,}@*"? no (end of list)
+ random@test.example in "*@*"?
+  list element: *@*
+  address match test: subject=random@test.example pattern=*@*
+  test.example in "*"?
+   list element: *
+   test.example in "*"? yes (matched "*")
+  random@test.example in "*@*"? yes (matched "*@*")
+  search_open: lsearch "TESTSUITE/aux-fixed/0471.rw"
+    cached open
+  search_find: file="TESTSUITE/aux-fixed/0471.rw"
+    key="test.example" partial=2 affix=*. starflags=0 opts=NULL
+  LRU list:
+    0TESTSUITE/aux-fixed/0471.rw
+    End
+  internal_search_find: file="TESTSUITE/aux-fixed/0471.rw"
+    type=lsearch key="test.example" opts=NULL
+  cached data used for lookup of test.example
+    in TESTSUITE/aux-fixed/0471.rw
+  lookup yielded: rwtest.example
 LOG: address_rewrite MAIN
-  "random@test.example" from to: rewritten as "random@rwtest.example" by rule 1
+  "random@test.example" from to: rewritten as "random@rwtest.example" by rule 2
 newlen=4279 newtype=T newtext:
 To: random@rwtest.example,
     random@rwtest.example,
@@ -19775,23 +20832,32 @@ remainder: random@test.example,
     random@test.example,
     random@test.example,
     random@test.example
-address match test: subject=random@test.example pattern=*@*
-test.example in "*"? yes (matched "*")
-random@test.example in "*@*"? yes (matched "*@*")
- search_open: lsearch "TESTSUITE/aux-fixed/0471.rw"
-   cached open
- search_find: file="TESTSUITE/aux-fixed/0471.rw"
-   key="test.example" partial=2 affix=*. starflags=0 opts=NULL
- LRU list:
-   0TESTSUITE/aux-fixed/0471.rw
-   End
- internal_search_find: file="TESTSUITE/aux-fixed/0471.rw"
-   type=lsearch key="test.example" opts=NULL
- cached data used for lookup of test.example
-   in TESTSUITE/aux-fixed/0471.rw
- lookup yielded: rwtest.example
+ random@test.example in "^.{40,}@*"?
+  list element: ^.{40,}@*
+  address match test: subject=random@test.example pattern=^.{40,}@*
+  compiled RE '^.{40,}@*' found in local cache
+ random@test.example in "^.{40,}@*"? no (end of list)
+ random@test.example in "*@*"?
+  list element: *@*
+  address match test: subject=random@test.example pattern=*@*
+  test.example in "*"?
+   list element: *
+   test.example in "*"? yes (matched "*")
+  random@test.example in "*@*"? yes (matched "*@*")
+  search_open: lsearch "TESTSUITE/aux-fixed/0471.rw"
+    cached open
+  search_find: file="TESTSUITE/aux-fixed/0471.rw"
+    key="test.example" partial=2 affix=*. starflags=0 opts=NULL
+  LRU list:
+    0TESTSUITE/aux-fixed/0471.rw
+    End
+  internal_search_find: file="TESTSUITE/aux-fixed/0471.rw"
+    type=lsearch key="test.example" opts=NULL
+  cached data used for lookup of test.example
+    in TESTSUITE/aux-fixed/0471.rw
+  lookup yielded: rwtest.example
 LOG: address_rewrite MAIN
-  "random@test.example" from to: rewritten as "random@rwtest.example" by rule 1
+  "random@test.example" from to: rewritten as "random@rwtest.example" by rule 2
 newlen=4281 newtype=T newtext:
 To: random@rwtest.example,
     random@rwtest.example,
@@ -19913,23 +20979,32 @@ remainder: random@test.example,
     random@test.example,
     random@test.example,
     random@test.example
-address match test: subject=random@test.example pattern=*@*
-test.example in "*"? yes (matched "*")
-random@test.example in "*@*"? yes (matched "*@*")
- search_open: lsearch "TESTSUITE/aux-fixed/0471.rw"
-   cached open
- search_find: file="TESTSUITE/aux-fixed/0471.rw"
-   key="test.example" partial=2 affix=*. starflags=0 opts=NULL
- LRU list:
-   0TESTSUITE/aux-fixed/0471.rw
-   End
- internal_search_find: file="TESTSUITE/aux-fixed/0471.rw"
-   type=lsearch key="test.example" opts=NULL
- cached data used for lookup of test.example
-   in TESTSUITE/aux-fixed/0471.rw
- lookup yielded: rwtest.example
+ random@test.example in "^.{40,}@*"?
+  list element: ^.{40,}@*
+  address match test: subject=random@test.example pattern=^.{40,}@*
+  compiled RE '^.{40,}@*' found in local cache
+ random@test.example in "^.{40,}@*"? no (end of list)
+ random@test.example in "*@*"?
+  list element: *@*
+  address match test: subject=random@test.example pattern=*@*
+  test.example in "*"?
+   list element: *
+   test.example in "*"? yes (matched "*")
+  random@test.example in "*@*"? yes (matched "*@*")
+  search_open: lsearch "TESTSUITE/aux-fixed/0471.rw"
+    cached open
+  search_find: file="TESTSUITE/aux-fixed/0471.rw"
+    key="test.example" partial=2 affix=*. starflags=0 opts=NULL
+  LRU list:
+    0TESTSUITE/aux-fixed/0471.rw
+    End
+  internal_search_find: file="TESTSUITE/aux-fixed/0471.rw"
+    type=lsearch key="test.example" opts=NULL
+  cached data used for lookup of test.example
+    in TESTSUITE/aux-fixed/0471.rw
+  lookup yielded: rwtest.example
 LOG: address_rewrite MAIN
-  "random@test.example" from to: rewritten as "random@rwtest.example" by rule 1
+  "random@test.example" from to: rewritten as "random@rwtest.example" by rule 2
 newlen=4283 newtype=T newtext:
 To: random@rwtest.example,
     random@rwtest.example,
@@ -20050,23 +21125,32 @@ remainder: random@test.example,
     random@test.example,
     random@test.example,
     random@test.example
-address match test: subject=random@test.example pattern=*@*
-test.example in "*"? yes (matched "*")
-random@test.example in "*@*"? yes (matched "*@*")
- search_open: lsearch "TESTSUITE/aux-fixed/0471.rw"
-   cached open
- search_find: file="TESTSUITE/aux-fixed/0471.rw"
-   key="test.example" partial=2 affix=*. starflags=0 opts=NULL
- LRU list:
-   0TESTSUITE/aux-fixed/0471.rw
-   End
- internal_search_find: file="TESTSUITE/aux-fixed/0471.rw"
-   type=lsearch key="test.example" opts=NULL
- cached data used for lookup of test.example
-   in TESTSUITE/aux-fixed/0471.rw
- lookup yielded: rwtest.example
+ random@test.example in "^.{40,}@*"?
+  list element: ^.{40,}@*
+  address match test: subject=random@test.example pattern=^.{40,}@*
+  compiled RE '^.{40,}@*' found in local cache
+ random@test.example in "^.{40,}@*"? no (end of list)
+ random@test.example in "*@*"?
+  list element: *@*
+  address match test: subject=random@test.example pattern=*@*
+  test.example in "*"?
+   list element: *
+   test.example in "*"? yes (matched "*")
+  random@test.example in "*@*"? yes (matched "*@*")
+  search_open: lsearch "TESTSUITE/aux-fixed/0471.rw"
+    cached open
+  search_find: file="TESTSUITE/aux-fixed/0471.rw"
+    key="test.example" partial=2 affix=*. starflags=0 opts=NULL
+  LRU list:
+    0TESTSUITE/aux-fixed/0471.rw
+    End
+  internal_search_find: file="TESTSUITE/aux-fixed/0471.rw"
+    type=lsearch key="test.example" opts=NULL
+  cached data used for lookup of test.example
+    in TESTSUITE/aux-fixed/0471.rw
+  lookup yielded: rwtest.example
 LOG: address_rewrite MAIN
-  "random@test.example" from to: rewritten as "random@rwtest.example" by rule 1
+  "random@test.example" from to: rewritten as "random@rwtest.example" by rule 2
 newlen=4285 newtype=T newtext:
 To: random@rwtest.example,
     random@rwtest.example,
@@ -20186,23 +21270,32 @@ remainder: random@test.example,
     random@test.example,
     random@test.example,
     random@test.example
-address match test: subject=random@test.example pattern=*@*
-test.example in "*"? yes (matched "*")
-random@test.example in "*@*"? yes (matched "*@*")
- search_open: lsearch "TESTSUITE/aux-fixed/0471.rw"
-   cached open
- search_find: file="TESTSUITE/aux-fixed/0471.rw"
-   key="test.example" partial=2 affix=*. starflags=0 opts=NULL
- LRU list:
-   0TESTSUITE/aux-fixed/0471.rw
-   End
- internal_search_find: file="TESTSUITE/aux-fixed/0471.rw"
-   type=lsearch key="test.example" opts=NULL
- cached data used for lookup of test.example
-   in TESTSUITE/aux-fixed/0471.rw
- lookup yielded: rwtest.example
+ random@test.example in "^.{40,}@*"?
+  list element: ^.{40,}@*
+  address match test: subject=random@test.example pattern=^.{40,}@*
+  compiled RE '^.{40,}@*' found in local cache
+ random@test.example in "^.{40,}@*"? no (end of list)
+ random@test.example in "*@*"?
+  list element: *@*
+  address match test: subject=random@test.example pattern=*@*
+  test.example in "*"?
+   list element: *
+   test.example in "*"? yes (matched "*")
+  random@test.example in "*@*"? yes (matched "*@*")
+  search_open: lsearch "TESTSUITE/aux-fixed/0471.rw"
+    cached open
+  search_find: file="TESTSUITE/aux-fixed/0471.rw"
+    key="test.example" partial=2 affix=*. starflags=0 opts=NULL
+  LRU list:
+    0TESTSUITE/aux-fixed/0471.rw
+    End
+  internal_search_find: file="TESTSUITE/aux-fixed/0471.rw"
+    type=lsearch key="test.example" opts=NULL
+  cached data used for lookup of test.example
+    in TESTSUITE/aux-fixed/0471.rw
+  lookup yielded: rwtest.example
 LOG: address_rewrite MAIN
-  "random@test.example" from to: rewritten as "random@rwtest.example" by rule 1
+  "random@test.example" from to: rewritten as "random@rwtest.example" by rule 2
 newlen=4287 newtype=T newtext:
 To: random@rwtest.example,
     random@rwtest.example,
@@ -20321,23 +21414,32 @@ remainder: random@test.example,
     random@test.example,
     random@test.example,
     random@test.example
-address match test: subject=random@test.example pattern=*@*
-test.example in "*"? yes (matched "*")
-random@test.example in "*@*"? yes (matched "*@*")
- search_open: lsearch "TESTSUITE/aux-fixed/0471.rw"
-   cached open
- search_find: file="TESTSUITE/aux-fixed/0471.rw"
-   key="test.example" partial=2 affix=*. starflags=0 opts=NULL
- LRU list:
-   0TESTSUITE/aux-fixed/0471.rw
-   End
- internal_search_find: file="TESTSUITE/aux-fixed/0471.rw"
-   type=lsearch key="test.example" opts=NULL
- cached data used for lookup of test.example
-   in TESTSUITE/aux-fixed/0471.rw
- lookup yielded: rwtest.example
+ random@test.example in "^.{40,}@*"?
+  list element: ^.{40,}@*
+  address match test: subject=random@test.example pattern=^.{40,}@*
+  compiled RE '^.{40,}@*' found in local cache
+ random@test.example in "^.{40,}@*"? no (end of list)
+ random@test.example in "*@*"?
+  list element: *@*
+  address match test: subject=random@test.example pattern=*@*
+  test.example in "*"?
+   list element: *
+   test.example in "*"? yes (matched "*")
+  random@test.example in "*@*"? yes (matched "*@*")
+  search_open: lsearch "TESTSUITE/aux-fixed/0471.rw"
+    cached open
+  search_find: file="TESTSUITE/aux-fixed/0471.rw"
+    key="test.example" partial=2 affix=*. starflags=0 opts=NULL
+  LRU list:
+    0TESTSUITE/aux-fixed/0471.rw
+    End
+  internal_search_find: file="TESTSUITE/aux-fixed/0471.rw"
+    type=lsearch key="test.example" opts=NULL
+  cached data used for lookup of test.example
+    in TESTSUITE/aux-fixed/0471.rw
+  lookup yielded: rwtest.example
 LOG: address_rewrite MAIN
-  "random@test.example" from to: rewritten as "random@rwtest.example" by rule 1
+  "random@test.example" from to: rewritten as "random@rwtest.example" by rule 2
 newlen=4289 newtype=T newtext:
 To: random@rwtest.example,
     random@rwtest.example,
@@ -20455,23 +21557,32 @@ remainder: random@test.example,
     random@test.example,
     random@test.example,
     random@test.example
-address match test: subject=random@test.example pattern=*@*
-test.example in "*"? yes (matched "*")
-random@test.example in "*@*"? yes (matched "*@*")
- search_open: lsearch "TESTSUITE/aux-fixed/0471.rw"
-   cached open
- search_find: file="TESTSUITE/aux-fixed/0471.rw"
-   key="test.example" partial=2 affix=*. starflags=0 opts=NULL
- LRU list:
-   0TESTSUITE/aux-fixed/0471.rw
-   End
- internal_search_find: file="TESTSUITE/aux-fixed/0471.rw"
-   type=lsearch key="test.example" opts=NULL
- cached data used for lookup of test.example
-   in TESTSUITE/aux-fixed/0471.rw
- lookup yielded: rwtest.example
+ random@test.example in "^.{40,}@*"?
+  list element: ^.{40,}@*
+  address match test: subject=random@test.example pattern=^.{40,}@*
+  compiled RE '^.{40,}@*' found in local cache
+ random@test.example in "^.{40,}@*"? no (end of list)
+ random@test.example in "*@*"?
+  list element: *@*
+  address match test: subject=random@test.example pattern=*@*
+  test.example in "*"?
+   list element: *
+   test.example in "*"? yes (matched "*")
+  random@test.example in "*@*"? yes (matched "*@*")
+  search_open: lsearch "TESTSUITE/aux-fixed/0471.rw"
+    cached open
+  search_find: file="TESTSUITE/aux-fixed/0471.rw"
+    key="test.example" partial=2 affix=*. starflags=0 opts=NULL
+  LRU list:
+    0TESTSUITE/aux-fixed/0471.rw
+    End
+  internal_search_find: file="TESTSUITE/aux-fixed/0471.rw"
+    type=lsearch key="test.example" opts=NULL
+  cached data used for lookup of test.example
+    in TESTSUITE/aux-fixed/0471.rw
+  lookup yielded: rwtest.example
 LOG: address_rewrite MAIN
-  "random@test.example" from to: rewritten as "random@rwtest.example" by rule 1
+  "random@test.example" from to: rewritten as "random@rwtest.example" by rule 2
 newlen=4291 newtype=T newtext:
 To: random@rwtest.example,
     random@rwtest.example,
@@ -20588,23 +21699,32 @@ remainder: random@test.example,
     random@test.example,
     random@test.example,
     random@test.example
-address match test: subject=random@test.example pattern=*@*
-test.example in "*"? yes (matched "*")
-random@test.example in "*@*"? yes (matched "*@*")
- search_open: lsearch "TESTSUITE/aux-fixed/0471.rw"
-   cached open
- search_find: file="TESTSUITE/aux-fixed/0471.rw"
-   key="test.example" partial=2 affix=*. starflags=0 opts=NULL
- LRU list:
-   0TESTSUITE/aux-fixed/0471.rw
-   End
- internal_search_find: file="TESTSUITE/aux-fixed/0471.rw"
-   type=lsearch key="test.example" opts=NULL
- cached data used for lookup of test.example
-   in TESTSUITE/aux-fixed/0471.rw
- lookup yielded: rwtest.example
+ random@test.example in "^.{40,}@*"?
+  list element: ^.{40,}@*
+  address match test: subject=random@test.example pattern=^.{40,}@*
+  compiled RE '^.{40,}@*' found in local cache
+ random@test.example in "^.{40,}@*"? no (end of list)
+ random@test.example in "*@*"?
+  list element: *@*
+  address match test: subject=random@test.example pattern=*@*
+  test.example in "*"?
+   list element: *
+   test.example in "*"? yes (matched "*")
+  random@test.example in "*@*"? yes (matched "*@*")
+  search_open: lsearch "TESTSUITE/aux-fixed/0471.rw"
+    cached open
+  search_find: file="TESTSUITE/aux-fixed/0471.rw"
+    key="test.example" partial=2 affix=*. starflags=0 opts=NULL
+  LRU list:
+    0TESTSUITE/aux-fixed/0471.rw
+    End
+  internal_search_find: file="TESTSUITE/aux-fixed/0471.rw"
+    type=lsearch key="test.example" opts=NULL
+  cached data used for lookup of test.example
+    in TESTSUITE/aux-fixed/0471.rw
+  lookup yielded: rwtest.example
 LOG: address_rewrite MAIN
-  "random@test.example" from to: rewritten as "random@rwtest.example" by rule 1
+  "random@test.example" from to: rewritten as "random@rwtest.example" by rule 2
 newlen=4293 newtype=T newtext:
 To: random@rwtest.example,
     random@rwtest.example,
@@ -20720,23 +21840,32 @@ remainder: random@test.example,
     random@test.example,
     random@test.example,
     random@test.example
-address match test: subject=random@test.example pattern=*@*
-test.example in "*"? yes (matched "*")
-random@test.example in "*@*"? yes (matched "*@*")
- search_open: lsearch "TESTSUITE/aux-fixed/0471.rw"
-   cached open
- search_find: file="TESTSUITE/aux-fixed/0471.rw"
-   key="test.example" partial=2 affix=*. starflags=0 opts=NULL
- LRU list:
-   0TESTSUITE/aux-fixed/0471.rw
-   End
- internal_search_find: file="TESTSUITE/aux-fixed/0471.rw"
-   type=lsearch key="test.example" opts=NULL
- cached data used for lookup of test.example
-   in TESTSUITE/aux-fixed/0471.rw
- lookup yielded: rwtest.example
+ random@test.example in "^.{40,}@*"?
+  list element: ^.{40,}@*
+  address match test: subject=random@test.example pattern=^.{40,}@*
+  compiled RE '^.{40,}@*' found in local cache
+ random@test.example in "^.{40,}@*"? no (end of list)
+ random@test.example in "*@*"?
+  list element: *@*
+  address match test: subject=random@test.example pattern=*@*
+  test.example in "*"?
+   list element: *
+   test.example in "*"? yes (matched "*")
+  random@test.example in "*@*"? yes (matched "*@*")
+  search_open: lsearch "TESTSUITE/aux-fixed/0471.rw"
+    cached open
+  search_find: file="TESTSUITE/aux-fixed/0471.rw"
+    key="test.example" partial=2 affix=*. starflags=0 opts=NULL
+  LRU list:
+    0TESTSUITE/aux-fixed/0471.rw
+    End
+  internal_search_find: file="TESTSUITE/aux-fixed/0471.rw"
+    type=lsearch key="test.example" opts=NULL
+  cached data used for lookup of test.example
+    in TESTSUITE/aux-fixed/0471.rw
+  lookup yielded: rwtest.example
 LOG: address_rewrite MAIN
-  "random@test.example" from to: rewritten as "random@rwtest.example" by rule 1
+  "random@test.example" from to: rewritten as "random@rwtest.example" by rule 2
 newlen=4295 newtype=T newtext:
 To: random@rwtest.example,
     random@rwtest.example,
@@ -20851,23 +21980,32 @@ remainder: random@test.example,
     random@test.example,
     random@test.example,
     random@test.example
-address match test: subject=random@test.example pattern=*@*
-test.example in "*"? yes (matched "*")
-random@test.example in "*@*"? yes (matched "*@*")
- search_open: lsearch "TESTSUITE/aux-fixed/0471.rw"
-   cached open
- search_find: file="TESTSUITE/aux-fixed/0471.rw"
-   key="test.example" partial=2 affix=*. starflags=0 opts=NULL
- LRU list:
-   0TESTSUITE/aux-fixed/0471.rw
-   End
- internal_search_find: file="TESTSUITE/aux-fixed/0471.rw"
-   type=lsearch key="test.example" opts=NULL
- cached data used for lookup of test.example
-   in TESTSUITE/aux-fixed/0471.rw
- lookup yielded: rwtest.example
+ random@test.example in "^.{40,}@*"?
+  list element: ^.{40,}@*
+  address match test: subject=random@test.example pattern=^.{40,}@*
+  compiled RE '^.{40,}@*' found in local cache
+ random@test.example in "^.{40,}@*"? no (end of list)
+ random@test.example in "*@*"?
+  list element: *@*
+  address match test: subject=random@test.example pattern=*@*
+  test.example in "*"?
+   list element: *
+   test.example in "*"? yes (matched "*")
+  random@test.example in "*@*"? yes (matched "*@*")
+  search_open: lsearch "TESTSUITE/aux-fixed/0471.rw"
+    cached open
+  search_find: file="TESTSUITE/aux-fixed/0471.rw"
+    key="test.example" partial=2 affix=*. starflags=0 opts=NULL
+  LRU list:
+    0TESTSUITE/aux-fixed/0471.rw
+    End
+  internal_search_find: file="TESTSUITE/aux-fixed/0471.rw"
+    type=lsearch key="test.example" opts=NULL
+  cached data used for lookup of test.example
+    in TESTSUITE/aux-fixed/0471.rw
+  lookup yielded: rwtest.example
 LOG: address_rewrite MAIN
-  "random@test.example" from to: rewritten as "random@rwtest.example" by rule 1
+  "random@test.example" from to: rewritten as "random@rwtest.example" by rule 2
 newlen=4297 newtype=T newtext:
 To: random@rwtest.example,
     random@rwtest.example,
@@ -20981,23 +22119,32 @@ remainder: random@test.example,
     random@test.example,
     random@test.example,
     random@test.example
-address match test: subject=random@test.example pattern=*@*
-test.example in "*"? yes (matched "*")
-random@test.example in "*@*"? yes (matched "*@*")
- search_open: lsearch "TESTSUITE/aux-fixed/0471.rw"
-   cached open
- search_find: file="TESTSUITE/aux-fixed/0471.rw"
-   key="test.example" partial=2 affix=*. starflags=0 opts=NULL
- LRU list:
-   0TESTSUITE/aux-fixed/0471.rw
-   End
- internal_search_find: file="TESTSUITE/aux-fixed/0471.rw"
-   type=lsearch key="test.example" opts=NULL
- cached data used for lookup of test.example
-   in TESTSUITE/aux-fixed/0471.rw
- lookup yielded: rwtest.example
+ random@test.example in "^.{40,}@*"?
+  list element: ^.{40,}@*
+  address match test: subject=random@test.example pattern=^.{40,}@*
+  compiled RE '^.{40,}@*' found in local cache
+ random@test.example in "^.{40,}@*"? no (end of list)
+ random@test.example in "*@*"?
+  list element: *@*
+  address match test: subject=random@test.example pattern=*@*
+  test.example in "*"?
+   list element: *
+   test.example in "*"? yes (matched "*")
+  random@test.example in "*@*"? yes (matched "*@*")
+  search_open: lsearch "TESTSUITE/aux-fixed/0471.rw"
+    cached open
+  search_find: file="TESTSUITE/aux-fixed/0471.rw"
+    key="test.example" partial=2 affix=*. starflags=0 opts=NULL
+  LRU list:
+    0TESTSUITE/aux-fixed/0471.rw
+    End
+  internal_search_find: file="TESTSUITE/aux-fixed/0471.rw"
+    type=lsearch key="test.example" opts=NULL
+  cached data used for lookup of test.example
+    in TESTSUITE/aux-fixed/0471.rw
+  lookup yielded: rwtest.example
 LOG: address_rewrite MAIN
-  "random@test.example" from to: rewritten as "random@rwtest.example" by rule 1
+  "random@test.example" from to: rewritten as "random@rwtest.example" by rule 2
 newlen=4299 newtype=T newtext:
 To: random@rwtest.example,
     random@rwtest.example,
@@ -21110,23 +22257,32 @@ remainder: random@test.example,
     random@test.example,
     random@test.example,
     random@test.example
-address match test: subject=random@test.example pattern=*@*
-test.example in "*"? yes (matched "*")
-random@test.example in "*@*"? yes (matched "*@*")
- search_open: lsearch "TESTSUITE/aux-fixed/0471.rw"
-   cached open
- search_find: file="TESTSUITE/aux-fixed/0471.rw"
-   key="test.example" partial=2 affix=*. starflags=0 opts=NULL
- LRU list:
-   0TESTSUITE/aux-fixed/0471.rw
-   End
- internal_search_find: file="TESTSUITE/aux-fixed/0471.rw"
-   type=lsearch key="test.example" opts=NULL
- cached data used for lookup of test.example
-   in TESTSUITE/aux-fixed/0471.rw
- lookup yielded: rwtest.example
+ random@test.example in "^.{40,}@*"?
+  list element: ^.{40,}@*
+  address match test: subject=random@test.example pattern=^.{40,}@*
+  compiled RE '^.{40,}@*' found in local cache
+ random@test.example in "^.{40,}@*"? no (end of list)
+ random@test.example in "*@*"?
+  list element: *@*
+  address match test: subject=random@test.example pattern=*@*
+  test.example in "*"?
+   list element: *
+   test.example in "*"? yes (matched "*")
+  random@test.example in "*@*"? yes (matched "*@*")
+  search_open: lsearch "TESTSUITE/aux-fixed/0471.rw"
+    cached open
+  search_find: file="TESTSUITE/aux-fixed/0471.rw"
+    key="test.example" partial=2 affix=*. starflags=0 opts=NULL
+  LRU list:
+    0TESTSUITE/aux-fixed/0471.rw
+    End
+  internal_search_find: file="TESTSUITE/aux-fixed/0471.rw"
+    type=lsearch key="test.example" opts=NULL
+  cached data used for lookup of test.example
+    in TESTSUITE/aux-fixed/0471.rw
+  lookup yielded: rwtest.example
 LOG: address_rewrite MAIN
-  "random@test.example" from to: rewritten as "random@rwtest.example" by rule 1
+  "random@test.example" from to: rewritten as "random@rwtest.example" by rule 2
 newlen=4301 newtype=T newtext:
 To: random@rwtest.example,
     random@rwtest.example,
@@ -21238,23 +22394,32 @@ remainder: random@test.example,
     random@test.example,
     random@test.example,
     random@test.example
-address match test: subject=random@test.example pattern=*@*
-test.example in "*"? yes (matched "*")
-random@test.example in "*@*"? yes (matched "*@*")
- search_open: lsearch "TESTSUITE/aux-fixed/0471.rw"
-   cached open
- search_find: file="TESTSUITE/aux-fixed/0471.rw"
-   key="test.example" partial=2 affix=*. starflags=0 opts=NULL
- LRU list:
-   0TESTSUITE/aux-fixed/0471.rw
-   End
- internal_search_find: file="TESTSUITE/aux-fixed/0471.rw"
-   type=lsearch key="test.example" opts=NULL
- cached data used for lookup of test.example
-   in TESTSUITE/aux-fixed/0471.rw
- lookup yielded: rwtest.example
+ random@test.example in "^.{40,}@*"?
+  list element: ^.{40,}@*
+  address match test: subject=random@test.example pattern=^.{40,}@*
+  compiled RE '^.{40,}@*' found in local cache
+ random@test.example in "^.{40,}@*"? no (end of list)
+ random@test.example in "*@*"?
+  list element: *@*
+  address match test: subject=random@test.example pattern=*@*
+  test.example in "*"?
+   list element: *
+   test.example in "*"? yes (matched "*")
+  random@test.example in "*@*"? yes (matched "*@*")
+  search_open: lsearch "TESTSUITE/aux-fixed/0471.rw"
+    cached open
+  search_find: file="TESTSUITE/aux-fixed/0471.rw"
+    key="test.example" partial=2 affix=*. starflags=0 opts=NULL
+  LRU list:
+    0TESTSUITE/aux-fixed/0471.rw
+    End
+  internal_search_find: file="TESTSUITE/aux-fixed/0471.rw"
+    type=lsearch key="test.example" opts=NULL
+  cached data used for lookup of test.example
+    in TESTSUITE/aux-fixed/0471.rw
+  lookup yielded: rwtest.example
 LOG: address_rewrite MAIN
-  "random@test.example" from to: rewritten as "random@rwtest.example" by rule 1
+  "random@test.example" from to: rewritten as "random@rwtest.example" by rule 2
 newlen=4303 newtype=T newtext:
 To: random@rwtest.example,
     random@rwtest.example,
@@ -21365,23 +22530,32 @@ remainder: random@test.example,
     random@test.example,
     random@test.example,
     random@test.example
-address match test: subject=random@test.example pattern=*@*
-test.example in "*"? yes (matched "*")
-random@test.example in "*@*"? yes (matched "*@*")
- search_open: lsearch "TESTSUITE/aux-fixed/0471.rw"
-   cached open
- search_find: file="TESTSUITE/aux-fixed/0471.rw"
-   key="test.example" partial=2 affix=*. starflags=0 opts=NULL
- LRU list:
-   0TESTSUITE/aux-fixed/0471.rw
-   End
- internal_search_find: file="TESTSUITE/aux-fixed/0471.rw"
-   type=lsearch key="test.example" opts=NULL
- cached data used for lookup of test.example
-   in TESTSUITE/aux-fixed/0471.rw
- lookup yielded: rwtest.example
+ random@test.example in "^.{40,}@*"?
+  list element: ^.{40,}@*
+  address match test: subject=random@test.example pattern=^.{40,}@*
+  compiled RE '^.{40,}@*' found in local cache
+ random@test.example in "^.{40,}@*"? no (end of list)
+ random@test.example in "*@*"?
+  list element: *@*
+  address match test: subject=random@test.example pattern=*@*
+  test.example in "*"?
+   list element: *
+   test.example in "*"? yes (matched "*")
+  random@test.example in "*@*"? yes (matched "*@*")
+  search_open: lsearch "TESTSUITE/aux-fixed/0471.rw"
+    cached open
+  search_find: file="TESTSUITE/aux-fixed/0471.rw"
+    key="test.example" partial=2 affix=*. starflags=0 opts=NULL
+  LRU list:
+    0TESTSUITE/aux-fixed/0471.rw
+    End
+  internal_search_find: file="TESTSUITE/aux-fixed/0471.rw"
+    type=lsearch key="test.example" opts=NULL
+  cached data used for lookup of test.example
+    in TESTSUITE/aux-fixed/0471.rw
+  lookup yielded: rwtest.example
 LOG: address_rewrite MAIN
-  "random@test.example" from to: rewritten as "random@rwtest.example" by rule 1
+  "random@test.example" from to: rewritten as "random@rwtest.example" by rule 2
 newlen=4305 newtype=T newtext:
 To: random@rwtest.example,
     random@rwtest.example,
@@ -21491,23 +22665,32 @@ remainder: random@test.example,
     random@test.example,
     random@test.example,
     random@test.example
-address match test: subject=random@test.example pattern=*@*
-test.example in "*"? yes (matched "*")
-random@test.example in "*@*"? yes (matched "*@*")
- search_open: lsearch "TESTSUITE/aux-fixed/0471.rw"
-   cached open
- search_find: file="TESTSUITE/aux-fixed/0471.rw"
-   key="test.example" partial=2 affix=*. starflags=0 opts=NULL
- LRU list:
-   0TESTSUITE/aux-fixed/0471.rw
-   End
- internal_search_find: file="TESTSUITE/aux-fixed/0471.rw"
-   type=lsearch key="test.example" opts=NULL
- cached data used for lookup of test.example
-   in TESTSUITE/aux-fixed/0471.rw
- lookup yielded: rwtest.example
+ random@test.example in "^.{40,}@*"?
+  list element: ^.{40,}@*
+  address match test: subject=random@test.example pattern=^.{40,}@*
+  compiled RE '^.{40,}@*' found in local cache
+ random@test.example in "^.{40,}@*"? no (end of list)
+ random@test.example in "*@*"?
+  list element: *@*
+  address match test: subject=random@test.example pattern=*@*
+  test.example in "*"?
+   list element: *
+   test.example in "*"? yes (matched "*")
+  random@test.example in "*@*"? yes (matched "*@*")
+  search_open: lsearch "TESTSUITE/aux-fixed/0471.rw"
+    cached open
+  search_find: file="TESTSUITE/aux-fixed/0471.rw"
+    key="test.example" partial=2 affix=*. starflags=0 opts=NULL
+  LRU list:
+    0TESTSUITE/aux-fixed/0471.rw
+    End
+  internal_search_find: file="TESTSUITE/aux-fixed/0471.rw"
+    type=lsearch key="test.example" opts=NULL
+  cached data used for lookup of test.example
+    in TESTSUITE/aux-fixed/0471.rw
+  lookup yielded: rwtest.example
 LOG: address_rewrite MAIN
-  "random@test.example" from to: rewritten as "random@rwtest.example" by rule 1
+  "random@test.example" from to: rewritten as "random@rwtest.example" by rule 2
 newlen=4307 newtype=T newtext:
 To: random@rwtest.example,
     random@rwtest.example,
@@ -21616,23 +22799,32 @@ remainder: random@test.example,
     random@test.example,
     random@test.example,
     random@test.example
-address match test: subject=random@test.example pattern=*@*
-test.example in "*"? yes (matched "*")
-random@test.example in "*@*"? yes (matched "*@*")
- search_open: lsearch "TESTSUITE/aux-fixed/0471.rw"
-   cached open
- search_find: file="TESTSUITE/aux-fixed/0471.rw"
-   key="test.example" partial=2 affix=*. starflags=0 opts=NULL
- LRU list:
-   0TESTSUITE/aux-fixed/0471.rw
-   End
- internal_search_find: file="TESTSUITE/aux-fixed/0471.rw"
-   type=lsearch key="test.example" opts=NULL
- cached data used for lookup of test.example
-   in TESTSUITE/aux-fixed/0471.rw
- lookup yielded: rwtest.example
+ random@test.example in "^.{40,}@*"?
+  list element: ^.{40,}@*
+  address match test: subject=random@test.example pattern=^.{40,}@*
+  compiled RE '^.{40,}@*' found in local cache
+ random@test.example in "^.{40,}@*"? no (end of list)
+ random@test.example in "*@*"?
+  list element: *@*
+  address match test: subject=random@test.example pattern=*@*
+  test.example in "*"?
+   list element: *
+   test.example in "*"? yes (matched "*")
+  random@test.example in "*@*"? yes (matched "*@*")
+  search_open: lsearch "TESTSUITE/aux-fixed/0471.rw"
+    cached open
+  search_find: file="TESTSUITE/aux-fixed/0471.rw"
+    key="test.example" partial=2 affix=*. starflags=0 opts=NULL
+  LRU list:
+    0TESTSUITE/aux-fixed/0471.rw
+    End
+  internal_search_find: file="TESTSUITE/aux-fixed/0471.rw"
+    type=lsearch key="test.example" opts=NULL
+  cached data used for lookup of test.example
+    in TESTSUITE/aux-fixed/0471.rw
+  lookup yielded: rwtest.example
 LOG: address_rewrite MAIN
-  "random@test.example" from to: rewritten as "random@rwtest.example" by rule 1
+  "random@test.example" from to: rewritten as "random@rwtest.example" by rule 2
 newlen=4309 newtype=T newtext:
 To: random@rwtest.example,
     random@rwtest.example,
@@ -21740,23 +22932,32 @@ remainder: random@test.example,
     random@test.example,
     random@test.example,
     random@test.example
-address match test: subject=random@test.example pattern=*@*
-test.example in "*"? yes (matched "*")
-random@test.example in "*@*"? yes (matched "*@*")
- search_open: lsearch "TESTSUITE/aux-fixed/0471.rw"
-   cached open
- search_find: file="TESTSUITE/aux-fixed/0471.rw"
-   key="test.example" partial=2 affix=*. starflags=0 opts=NULL
- LRU list:
-   0TESTSUITE/aux-fixed/0471.rw
-   End
- internal_search_find: file="TESTSUITE/aux-fixed/0471.rw"
-   type=lsearch key="test.example" opts=NULL
- cached data used for lookup of test.example
-   in TESTSUITE/aux-fixed/0471.rw
- lookup yielded: rwtest.example
+ random@test.example in "^.{40,}@*"?
+  list element: ^.{40,}@*
+  address match test: subject=random@test.example pattern=^.{40,}@*
+  compiled RE '^.{40,}@*' found in local cache
+ random@test.example in "^.{40,}@*"? no (end of list)
+ random@test.example in "*@*"?
+  list element: *@*
+  address match test: subject=random@test.example pattern=*@*
+  test.example in "*"?
+   list element: *
+   test.example in "*"? yes (matched "*")
+  random@test.example in "*@*"? yes (matched "*@*")
+  search_open: lsearch "TESTSUITE/aux-fixed/0471.rw"
+    cached open
+  search_find: file="TESTSUITE/aux-fixed/0471.rw"
+    key="test.example" partial=2 affix=*. starflags=0 opts=NULL
+  LRU list:
+    0TESTSUITE/aux-fixed/0471.rw
+    End
+  internal_search_find: file="TESTSUITE/aux-fixed/0471.rw"
+    type=lsearch key="test.example" opts=NULL
+  cached data used for lookup of test.example
+    in TESTSUITE/aux-fixed/0471.rw
+  lookup yielded: rwtest.example
 LOG: address_rewrite MAIN
-  "random@test.example" from to: rewritten as "random@rwtest.example" by rule 1
+  "random@test.example" from to: rewritten as "random@rwtest.example" by rule 2
 newlen=4311 newtype=T newtext:
 To: random@rwtest.example,
     random@rwtest.example,
@@ -21863,23 +23064,32 @@ remainder: random@test.example,
     random@test.example,
     random@test.example,
     random@test.example
-address match test: subject=random@test.example pattern=*@*
-test.example in "*"? yes (matched "*")
-random@test.example in "*@*"? yes (matched "*@*")
- search_open: lsearch "TESTSUITE/aux-fixed/0471.rw"
-   cached open
- search_find: file="TESTSUITE/aux-fixed/0471.rw"
-   key="test.example" partial=2 affix=*. starflags=0 opts=NULL
- LRU list:
-   0TESTSUITE/aux-fixed/0471.rw
-   End
- internal_search_find: file="TESTSUITE/aux-fixed/0471.rw"
-   type=lsearch key="test.example" opts=NULL
- cached data used for lookup of test.example
-   in TESTSUITE/aux-fixed/0471.rw
- lookup yielded: rwtest.example
+ random@test.example in "^.{40,}@*"?
+  list element: ^.{40,}@*
+  address match test: subject=random@test.example pattern=^.{40,}@*
+  compiled RE '^.{40,}@*' found in local cache
+ random@test.example in "^.{40,}@*"? no (end of list)
+ random@test.example in "*@*"?
+  list element: *@*
+  address match test: subject=random@test.example pattern=*@*
+  test.example in "*"?
+   list element: *
+   test.example in "*"? yes (matched "*")
+  random@test.example in "*@*"? yes (matched "*@*")
+  search_open: lsearch "TESTSUITE/aux-fixed/0471.rw"
+    cached open
+  search_find: file="TESTSUITE/aux-fixed/0471.rw"
+    key="test.example" partial=2 affix=*. starflags=0 opts=NULL
+  LRU list:
+    0TESTSUITE/aux-fixed/0471.rw
+    End
+  internal_search_find: file="TESTSUITE/aux-fixed/0471.rw"
+    type=lsearch key="test.example" opts=NULL
+  cached data used for lookup of test.example
+    in TESTSUITE/aux-fixed/0471.rw
+  lookup yielded: rwtest.example
 LOG: address_rewrite MAIN
-  "random@test.example" from to: rewritten as "random@rwtest.example" by rule 1
+  "random@test.example" from to: rewritten as "random@rwtest.example" by rule 2
 newlen=4313 newtype=T newtext:
 To: random@rwtest.example,
     random@rwtest.example,
@@ -21985,23 +23195,32 @@ remainder: random@test.example,
     random@test.example,
     random@test.example,
     random@test.example
-address match test: subject=random@test.example pattern=*@*
-test.example in "*"? yes (matched "*")
-random@test.example in "*@*"? yes (matched "*@*")
- search_open: lsearch "TESTSUITE/aux-fixed/0471.rw"
-   cached open
- search_find: file="TESTSUITE/aux-fixed/0471.rw"
-   key="test.example" partial=2 affix=*. starflags=0 opts=NULL
- LRU list:
-   0TESTSUITE/aux-fixed/0471.rw
-   End
- internal_search_find: file="TESTSUITE/aux-fixed/0471.rw"
-   type=lsearch key="test.example" opts=NULL
- cached data used for lookup of test.example
-   in TESTSUITE/aux-fixed/0471.rw
- lookup yielded: rwtest.example
+ random@test.example in "^.{40,}@*"?
+  list element: ^.{40,}@*
+  address match test: subject=random@test.example pattern=^.{40,}@*
+  compiled RE '^.{40,}@*' found in local cache
+ random@test.example in "^.{40,}@*"? no (end of list)
+ random@test.example in "*@*"?
+  list element: *@*
+  address match test: subject=random@test.example pattern=*@*
+  test.example in "*"?
+   list element: *
+   test.example in "*"? yes (matched "*")
+  random@test.example in "*@*"? yes (matched "*@*")
+  search_open: lsearch "TESTSUITE/aux-fixed/0471.rw"
+    cached open
+  search_find: file="TESTSUITE/aux-fixed/0471.rw"
+    key="test.example" partial=2 affix=*. starflags=0 opts=NULL
+  LRU list:
+    0TESTSUITE/aux-fixed/0471.rw
+    End
+  internal_search_find: file="TESTSUITE/aux-fixed/0471.rw"
+    type=lsearch key="test.example" opts=NULL
+  cached data used for lookup of test.example
+    in TESTSUITE/aux-fixed/0471.rw
+  lookup yielded: rwtest.example
 LOG: address_rewrite MAIN
-  "random@test.example" from to: rewritten as "random@rwtest.example" by rule 1
+  "random@test.example" from to: rewritten as "random@rwtest.example" by rule 2
 newlen=4315 newtype=T newtext:
 To: random@rwtest.example,
     random@rwtest.example,
@@ -22106,23 +23325,32 @@ remainder: random@test.example,
     random@test.example,
     random@test.example,
     random@test.example
-address match test: subject=random@test.example pattern=*@*
-test.example in "*"? yes (matched "*")
-random@test.example in "*@*"? yes (matched "*@*")
- search_open: lsearch "TESTSUITE/aux-fixed/0471.rw"
-   cached open
- search_find: file="TESTSUITE/aux-fixed/0471.rw"
-   key="test.example" partial=2 affix=*. starflags=0 opts=NULL
- LRU list:
-   0TESTSUITE/aux-fixed/0471.rw
-   End
- internal_search_find: file="TESTSUITE/aux-fixed/0471.rw"
-   type=lsearch key="test.example" opts=NULL
- cached data used for lookup of test.example
-   in TESTSUITE/aux-fixed/0471.rw
- lookup yielded: rwtest.example
+ random@test.example in "^.{40,}@*"?
+  list element: ^.{40,}@*
+  address match test: subject=random@test.example pattern=^.{40,}@*
+  compiled RE '^.{40,}@*' found in local cache
+ random@test.example in "^.{40,}@*"? no (end of list)
+ random@test.example in "*@*"?
+  list element: *@*
+  address match test: subject=random@test.example pattern=*@*
+  test.example in "*"?
+   list element: *
+   test.example in "*"? yes (matched "*")
+  random@test.example in "*@*"? yes (matched "*@*")
+  search_open: lsearch "TESTSUITE/aux-fixed/0471.rw"
+    cached open
+  search_find: file="TESTSUITE/aux-fixed/0471.rw"
+    key="test.example" partial=2 affix=*. starflags=0 opts=NULL
+  LRU list:
+    0TESTSUITE/aux-fixed/0471.rw
+    End
+  internal_search_find: file="TESTSUITE/aux-fixed/0471.rw"
+    type=lsearch key="test.example" opts=NULL
+  cached data used for lookup of test.example
+    in TESTSUITE/aux-fixed/0471.rw
+  lookup yielded: rwtest.example
 LOG: address_rewrite MAIN
-  "random@test.example" from to: rewritten as "random@rwtest.example" by rule 1
+  "random@test.example" from to: rewritten as "random@rwtest.example" by rule 2
 newlen=4317 newtype=T newtext:
 To: random@rwtest.example,
     random@rwtest.example,
@@ -22226,23 +23454,32 @@ remainder: random@test.example,
     random@test.example,
     random@test.example,
     random@test.example
-address match test: subject=random@test.example pattern=*@*
-test.example in "*"? yes (matched "*")
-random@test.example in "*@*"? yes (matched "*@*")
- search_open: lsearch "TESTSUITE/aux-fixed/0471.rw"
-   cached open
- search_find: file="TESTSUITE/aux-fixed/0471.rw"
-   key="test.example" partial=2 affix=*. starflags=0 opts=NULL
- LRU list:
-   0TESTSUITE/aux-fixed/0471.rw
-   End
- internal_search_find: file="TESTSUITE/aux-fixed/0471.rw"
-   type=lsearch key="test.example" opts=NULL
- cached data used for lookup of test.example
-   in TESTSUITE/aux-fixed/0471.rw
- lookup yielded: rwtest.example
+ random@test.example in "^.{40,}@*"?
+  list element: ^.{40,}@*
+  address match test: subject=random@test.example pattern=^.{40,}@*
+  compiled RE '^.{40,}@*' found in local cache
+ random@test.example in "^.{40,}@*"? no (end of list)
+ random@test.example in "*@*"?
+  list element: *@*
+  address match test: subject=random@test.example pattern=*@*
+  test.example in "*"?
+   list element: *
+   test.example in "*"? yes (matched "*")
+  random@test.example in "*@*"? yes (matched "*@*")
+  search_open: lsearch "TESTSUITE/aux-fixed/0471.rw"
+    cached open
+  search_find: file="TESTSUITE/aux-fixed/0471.rw"
+    key="test.example" partial=2 affix=*. starflags=0 opts=NULL
+  LRU list:
+    0TESTSUITE/aux-fixed/0471.rw
+    End
+  internal_search_find: file="TESTSUITE/aux-fixed/0471.rw"
+    type=lsearch key="test.example" opts=NULL
+  cached data used for lookup of test.example
+    in TESTSUITE/aux-fixed/0471.rw
+  lookup yielded: rwtest.example
 LOG: address_rewrite MAIN
-  "random@test.example" from to: rewritten as "random@rwtest.example" by rule 1
+  "random@test.example" from to: rewritten as "random@rwtest.example" by rule 2
 newlen=4319 newtype=T newtext:
 To: random@rwtest.example,
     random@rwtest.example,
@@ -22345,23 +23582,32 @@ remainder: random@test.example,
     random@test.example,
     random@test.example,
     random@test.example
-address match test: subject=random@test.example pattern=*@*
-test.example in "*"? yes (matched "*")
-random@test.example in "*@*"? yes (matched "*@*")
- search_open: lsearch "TESTSUITE/aux-fixed/0471.rw"
-   cached open
- search_find: file="TESTSUITE/aux-fixed/0471.rw"
-   key="test.example" partial=2 affix=*. starflags=0 opts=NULL
- LRU list:
-   0TESTSUITE/aux-fixed/0471.rw
-   End
- internal_search_find: file="TESTSUITE/aux-fixed/0471.rw"
-   type=lsearch key="test.example" opts=NULL
- cached data used for lookup of test.example
-   in TESTSUITE/aux-fixed/0471.rw
- lookup yielded: rwtest.example
+ random@test.example in "^.{40,}@*"?
+  list element: ^.{40,}@*
+  address match test: subject=random@test.example pattern=^.{40,}@*
+  compiled RE '^.{40,}@*' found in local cache
+ random@test.example in "^.{40,}@*"? no (end of list)
+ random@test.example in "*@*"?
+  list element: *@*
+  address match test: subject=random@test.example pattern=*@*
+  test.example in "*"?
+   list element: *
+   test.example in "*"? yes (matched "*")
+  random@test.example in "*@*"? yes (matched "*@*")
+  search_open: lsearch "TESTSUITE/aux-fixed/0471.rw"
+    cached open
+  search_find: file="TESTSUITE/aux-fixed/0471.rw"
+    key="test.example" partial=2 affix=*. starflags=0 opts=NULL
+  LRU list:
+    0TESTSUITE/aux-fixed/0471.rw
+    End
+  internal_search_find: file="TESTSUITE/aux-fixed/0471.rw"
+    type=lsearch key="test.example" opts=NULL
+  cached data used for lookup of test.example
+    in TESTSUITE/aux-fixed/0471.rw
+  lookup yielded: rwtest.example
 LOG: address_rewrite MAIN
-  "random@test.example" from to: rewritten as "random@rwtest.example" by rule 1
+  "random@test.example" from to: rewritten as "random@rwtest.example" by rule 2
 newlen=4321 newtype=T newtext:
 To: random@rwtest.example,
     random@rwtest.example,
@@ -22463,23 +23709,32 @@ remainder: random@test.example,
     random@test.example,
     random@test.example,
     random@test.example
-address match test: subject=random@test.example pattern=*@*
-test.example in "*"? yes (matched "*")
-random@test.example in "*@*"? yes (matched "*@*")
- search_open: lsearch "TESTSUITE/aux-fixed/0471.rw"
-   cached open
- search_find: file="TESTSUITE/aux-fixed/0471.rw"
-   key="test.example" partial=2 affix=*. starflags=0 opts=NULL
- LRU list:
-   0TESTSUITE/aux-fixed/0471.rw
-   End
- internal_search_find: file="TESTSUITE/aux-fixed/0471.rw"
-   type=lsearch key="test.example" opts=NULL
- cached data used for lookup of test.example
-   in TESTSUITE/aux-fixed/0471.rw
- lookup yielded: rwtest.example
+ random@test.example in "^.{40,}@*"?
+  list element: ^.{40,}@*
+  address match test: subject=random@test.example pattern=^.{40,}@*
+  compiled RE '^.{40,}@*' found in local cache
+ random@test.example in "^.{40,}@*"? no (end of list)
+ random@test.example in "*@*"?
+  list element: *@*
+  address match test: subject=random@test.example pattern=*@*
+  test.example in "*"?
+   list element: *
+   test.example in "*"? yes (matched "*")
+  random@test.example in "*@*"? yes (matched "*@*")
+  search_open: lsearch "TESTSUITE/aux-fixed/0471.rw"
+    cached open
+  search_find: file="TESTSUITE/aux-fixed/0471.rw"
+    key="test.example" partial=2 affix=*. starflags=0 opts=NULL
+  LRU list:
+    0TESTSUITE/aux-fixed/0471.rw
+    End
+  internal_search_find: file="TESTSUITE/aux-fixed/0471.rw"
+    type=lsearch key="test.example" opts=NULL
+  cached data used for lookup of test.example
+    in TESTSUITE/aux-fixed/0471.rw
+  lookup yielded: rwtest.example
 LOG: address_rewrite MAIN
-  "random@test.example" from to: rewritten as "random@rwtest.example" by rule 1
+  "random@test.example" from to: rewritten as "random@rwtest.example" by rule 2
 newlen=4323 newtype=T newtext:
 To: random@rwtest.example,
     random@rwtest.example,
@@ -22580,23 +23835,32 @@ remainder: random@test.example,
     random@test.example,
     random@test.example,
     random@test.example
-address match test: subject=random@test.example pattern=*@*
-test.example in "*"? yes (matched "*")
-random@test.example in "*@*"? yes (matched "*@*")
- search_open: lsearch "TESTSUITE/aux-fixed/0471.rw"
-   cached open
- search_find: file="TESTSUITE/aux-fixed/0471.rw"
-   key="test.example" partial=2 affix=*. starflags=0 opts=NULL
- LRU list:
-   0TESTSUITE/aux-fixed/0471.rw
-   End
- internal_search_find: file="TESTSUITE/aux-fixed/0471.rw"
-   type=lsearch key="test.example" opts=NULL
- cached data used for lookup of test.example
-   in TESTSUITE/aux-fixed/0471.rw
- lookup yielded: rwtest.example
+ random@test.example in "^.{40,}@*"?
+  list element: ^.{40,}@*
+  address match test: subject=random@test.example pattern=^.{40,}@*
+  compiled RE '^.{40,}@*' found in local cache
+ random@test.example in "^.{40,}@*"? no (end of list)
+ random@test.example in "*@*"?
+  list element: *@*
+  address match test: subject=random@test.example pattern=*@*
+  test.example in "*"?
+   list element: *
+   test.example in "*"? yes (matched "*")
+  random@test.example in "*@*"? yes (matched "*@*")
+  search_open: lsearch "TESTSUITE/aux-fixed/0471.rw"
+    cached open
+  search_find: file="TESTSUITE/aux-fixed/0471.rw"
+    key="test.example" partial=2 affix=*. starflags=0 opts=NULL
+  LRU list:
+    0TESTSUITE/aux-fixed/0471.rw
+    End
+  internal_search_find: file="TESTSUITE/aux-fixed/0471.rw"
+    type=lsearch key="test.example" opts=NULL
+  cached data used for lookup of test.example
+    in TESTSUITE/aux-fixed/0471.rw
+  lookup yielded: rwtest.example
 LOG: address_rewrite MAIN
-  "random@test.example" from to: rewritten as "random@rwtest.example" by rule 1
+  "random@test.example" from to: rewritten as "random@rwtest.example" by rule 2
 newlen=4325 newtype=T newtext:
 To: random@rwtest.example,
     random@rwtest.example,
@@ -22696,23 +23960,32 @@ remainder: random@test.example,
     random@test.example,
     random@test.example,
     random@test.example
-address match test: subject=random@test.example pattern=*@*
-test.example in "*"? yes (matched "*")
-random@test.example in "*@*"? yes (matched "*@*")
- search_open: lsearch "TESTSUITE/aux-fixed/0471.rw"
-   cached open
- search_find: file="TESTSUITE/aux-fixed/0471.rw"
-   key="test.example" partial=2 affix=*. starflags=0 opts=NULL
- LRU list:
-   0TESTSUITE/aux-fixed/0471.rw
-   End
- internal_search_find: file="TESTSUITE/aux-fixed/0471.rw"
-   type=lsearch key="test.example" opts=NULL
- cached data used for lookup of test.example
-   in TESTSUITE/aux-fixed/0471.rw
- lookup yielded: rwtest.example
+ random@test.example in "^.{40,}@*"?
+  list element: ^.{40,}@*
+  address match test: subject=random@test.example pattern=^.{40,}@*
+  compiled RE '^.{40,}@*' found in local cache
+ random@test.example in "^.{40,}@*"? no (end of list)
+ random@test.example in "*@*"?
+  list element: *@*
+  address match test: subject=random@test.example pattern=*@*
+  test.example in "*"?
+   list element: *
+   test.example in "*"? yes (matched "*")
+  random@test.example in "*@*"? yes (matched "*@*")
+  search_open: lsearch "TESTSUITE/aux-fixed/0471.rw"
+    cached open
+  search_find: file="TESTSUITE/aux-fixed/0471.rw"
+    key="test.example" partial=2 affix=*. starflags=0 opts=NULL
+  LRU list:
+    0TESTSUITE/aux-fixed/0471.rw
+    End
+  internal_search_find: file="TESTSUITE/aux-fixed/0471.rw"
+    type=lsearch key="test.example" opts=NULL
+  cached data used for lookup of test.example
+    in TESTSUITE/aux-fixed/0471.rw
+  lookup yielded: rwtest.example
 LOG: address_rewrite MAIN
-  "random@test.example" from to: rewritten as "random@rwtest.example" by rule 1
+  "random@test.example" from to: rewritten as "random@rwtest.example" by rule 2
 newlen=4327 newtype=T newtext:
 To: random@rwtest.example,
     random@rwtest.example,
@@ -22811,23 +24084,32 @@ remainder: random@test.example,
     random@test.example,
     random@test.example,
     random@test.example
-address match test: subject=random@test.example pattern=*@*
-test.example in "*"? yes (matched "*")
-random@test.example in "*@*"? yes (matched "*@*")
- search_open: lsearch "TESTSUITE/aux-fixed/0471.rw"
-   cached open
- search_find: file="TESTSUITE/aux-fixed/0471.rw"
-   key="test.example" partial=2 affix=*. starflags=0 opts=NULL
- LRU list:
-   0TESTSUITE/aux-fixed/0471.rw
-   End
- internal_search_find: file="TESTSUITE/aux-fixed/0471.rw"
-   type=lsearch key="test.example" opts=NULL
- cached data used for lookup of test.example
-   in TESTSUITE/aux-fixed/0471.rw
- lookup yielded: rwtest.example
+ random@test.example in "^.{40,}@*"?
+  list element: ^.{40,}@*
+  address match test: subject=random@test.example pattern=^.{40,}@*
+  compiled RE '^.{40,}@*' found in local cache
+ random@test.example in "^.{40,}@*"? no (end of list)
+ random@test.example in "*@*"?
+  list element: *@*
+  address match test: subject=random@test.example pattern=*@*
+  test.example in "*"?
+   list element: *
+   test.example in "*"? yes (matched "*")
+  random@test.example in "*@*"? yes (matched "*@*")
+  search_open: lsearch "TESTSUITE/aux-fixed/0471.rw"
+    cached open
+  search_find: file="TESTSUITE/aux-fixed/0471.rw"
+    key="test.example" partial=2 affix=*. starflags=0 opts=NULL
+  LRU list:
+    0TESTSUITE/aux-fixed/0471.rw
+    End
+  internal_search_find: file="TESTSUITE/aux-fixed/0471.rw"
+    type=lsearch key="test.example" opts=NULL
+  cached data used for lookup of test.example
+    in TESTSUITE/aux-fixed/0471.rw
+  lookup yielded: rwtest.example
 LOG: address_rewrite MAIN
-  "random@test.example" from to: rewritten as "random@rwtest.example" by rule 1
+  "random@test.example" from to: rewritten as "random@rwtest.example" by rule 2
 newlen=4329 newtype=T newtext:
 To: random@rwtest.example,
     random@rwtest.example,
@@ -22925,23 +24207,32 @@ remainder: random@test.example,
     random@test.example,
     random@test.example,
     random@test.example
-address match test: subject=random@test.example pattern=*@*
-test.example in "*"? yes (matched "*")
-random@test.example in "*@*"? yes (matched "*@*")
- search_open: lsearch "TESTSUITE/aux-fixed/0471.rw"
-   cached open
- search_find: file="TESTSUITE/aux-fixed/0471.rw"
-   key="test.example" partial=2 affix=*. starflags=0 opts=NULL
- LRU list:
-   0TESTSUITE/aux-fixed/0471.rw
-   End
- internal_search_find: file="TESTSUITE/aux-fixed/0471.rw"
-   type=lsearch key="test.example" opts=NULL
- cached data used for lookup of test.example
-   in TESTSUITE/aux-fixed/0471.rw
- lookup yielded: rwtest.example
+ random@test.example in "^.{40,}@*"?
+  list element: ^.{40,}@*
+  address match test: subject=random@test.example pattern=^.{40,}@*
+  compiled RE '^.{40,}@*' found in local cache
+ random@test.example in "^.{40,}@*"? no (end of list)
+ random@test.example in "*@*"?
+  list element: *@*
+  address match test: subject=random@test.example pattern=*@*
+  test.example in "*"?
+   list element: *
+   test.example in "*"? yes (matched "*")
+  random@test.example in "*@*"? yes (matched "*@*")
+  search_open: lsearch "TESTSUITE/aux-fixed/0471.rw"
+    cached open
+  search_find: file="TESTSUITE/aux-fixed/0471.rw"
+    key="test.example" partial=2 affix=*. starflags=0 opts=NULL
+  LRU list:
+    0TESTSUITE/aux-fixed/0471.rw
+    End
+  internal_search_find: file="TESTSUITE/aux-fixed/0471.rw"
+    type=lsearch key="test.example" opts=NULL
+  cached data used for lookup of test.example
+    in TESTSUITE/aux-fixed/0471.rw
+  lookup yielded: rwtest.example
 LOG: address_rewrite MAIN
-  "random@test.example" from to: rewritten as "random@rwtest.example" by rule 1
+  "random@test.example" from to: rewritten as "random@rwtest.example" by rule 2
 newlen=4331 newtype=T newtext:
 To: random@rwtest.example,
     random@rwtest.example,
@@ -23038,23 +24329,32 @@ remainder: random@test.example,
     random@test.example,
     random@test.example,
     random@test.example
-address match test: subject=random@test.example pattern=*@*
-test.example in "*"? yes (matched "*")
-random@test.example in "*@*"? yes (matched "*@*")
- search_open: lsearch "TESTSUITE/aux-fixed/0471.rw"
-   cached open
- search_find: file="TESTSUITE/aux-fixed/0471.rw"
-   key="test.example" partial=2 affix=*. starflags=0 opts=NULL
- LRU list:
-   0TESTSUITE/aux-fixed/0471.rw
-   End
- internal_search_find: file="TESTSUITE/aux-fixed/0471.rw"
-   type=lsearch key="test.example" opts=NULL
- cached data used for lookup of test.example
-   in TESTSUITE/aux-fixed/0471.rw
- lookup yielded: rwtest.example
+ random@test.example in "^.{40,}@*"?
+  list element: ^.{40,}@*
+  address match test: subject=random@test.example pattern=^.{40,}@*
+  compiled RE '^.{40,}@*' found in local cache
+ random@test.example in "^.{40,}@*"? no (end of list)
+ random@test.example in "*@*"?
+  list element: *@*
+  address match test: subject=random@test.example pattern=*@*
+  test.example in "*"?
+   list element: *
+   test.example in "*"? yes (matched "*")
+  random@test.example in "*@*"? yes (matched "*@*")
+  search_open: lsearch "TESTSUITE/aux-fixed/0471.rw"
+    cached open
+  search_find: file="TESTSUITE/aux-fixed/0471.rw"
+    key="test.example" partial=2 affix=*. starflags=0 opts=NULL
+  LRU list:
+    0TESTSUITE/aux-fixed/0471.rw
+    End
+  internal_search_find: file="TESTSUITE/aux-fixed/0471.rw"
+    type=lsearch key="test.example" opts=NULL
+  cached data used for lookup of test.example
+    in TESTSUITE/aux-fixed/0471.rw
+  lookup yielded: rwtest.example
 LOG: address_rewrite MAIN
-  "random@test.example" from to: rewritten as "random@rwtest.example" by rule 1
+  "random@test.example" from to: rewritten as "random@rwtest.example" by rule 2
 newlen=4333 newtype=T newtext:
 To: random@rwtest.example,
     random@rwtest.example,
@@ -23150,23 +24450,32 @@ remainder: random@test.example,
     random@test.example,
     random@test.example,
     random@test.example
-address match test: subject=random@test.example pattern=*@*
-test.example in "*"? yes (matched "*")
-random@test.example in "*@*"? yes (matched "*@*")
- search_open: lsearch "TESTSUITE/aux-fixed/0471.rw"
-   cached open
- search_find: file="TESTSUITE/aux-fixed/0471.rw"
-   key="test.example" partial=2 affix=*. starflags=0 opts=NULL
- LRU list:
-   0TESTSUITE/aux-fixed/0471.rw
-   End
- internal_search_find: file="TESTSUITE/aux-fixed/0471.rw"
-   type=lsearch key="test.example" opts=NULL
- cached data used for lookup of test.example
-   in TESTSUITE/aux-fixed/0471.rw
- lookup yielded: rwtest.example
+ random@test.example in "^.{40,}@*"?
+  list element: ^.{40,}@*
+  address match test: subject=random@test.example pattern=^.{40,}@*
+  compiled RE '^.{40,}@*' found in local cache
+ random@test.example in "^.{40,}@*"? no (end of list)
+ random@test.example in "*@*"?
+  list element: *@*
+  address match test: subject=random@test.example pattern=*@*
+  test.example in "*"?
+   list element: *
+   test.example in "*"? yes (matched "*")
+  random@test.example in "*@*"? yes (matched "*@*")
+  search_open: lsearch "TESTSUITE/aux-fixed/0471.rw"
+    cached open
+  search_find: file="TESTSUITE/aux-fixed/0471.rw"
+    key="test.example" partial=2 affix=*. starflags=0 opts=NULL
+  LRU list:
+    0TESTSUITE/aux-fixed/0471.rw
+    End
+  internal_search_find: file="TESTSUITE/aux-fixed/0471.rw"
+    type=lsearch key="test.example" opts=NULL
+  cached data used for lookup of test.example
+    in TESTSUITE/aux-fixed/0471.rw
+  lookup yielded: rwtest.example
 LOG: address_rewrite MAIN
-  "random@test.example" from to: rewritten as "random@rwtest.example" by rule 1
+  "random@test.example" from to: rewritten as "random@rwtest.example" by rule 2
 newlen=4335 newtype=T newtext:
 To: random@rwtest.example,
     random@rwtest.example,
@@ -23261,23 +24570,32 @@ remainder: random@test.example,
     random@test.example,
     random@test.example,
     random@test.example
-address match test: subject=random@test.example pattern=*@*
-test.example in "*"? yes (matched "*")
-random@test.example in "*@*"? yes (matched "*@*")
- search_open: lsearch "TESTSUITE/aux-fixed/0471.rw"
-   cached open
- search_find: file="TESTSUITE/aux-fixed/0471.rw"
-   key="test.example" partial=2 affix=*. starflags=0 opts=NULL
- LRU list:
-   0TESTSUITE/aux-fixed/0471.rw
-   End
- internal_search_find: file="TESTSUITE/aux-fixed/0471.rw"
-   type=lsearch key="test.example" opts=NULL
- cached data used for lookup of test.example
-   in TESTSUITE/aux-fixed/0471.rw
- lookup yielded: rwtest.example
+ random@test.example in "^.{40,}@*"?
+  list element: ^.{40,}@*
+  address match test: subject=random@test.example pattern=^.{40,}@*
+  compiled RE '^.{40,}@*' found in local cache
+ random@test.example in "^.{40,}@*"? no (end of list)
+ random@test.example in "*@*"?
+  list element: *@*
+  address match test: subject=random@test.example pattern=*@*
+  test.example in "*"?
+   list element: *
+   test.example in "*"? yes (matched "*")
+  random@test.example in "*@*"? yes (matched "*@*")
+  search_open: lsearch "TESTSUITE/aux-fixed/0471.rw"
+    cached open
+  search_find: file="TESTSUITE/aux-fixed/0471.rw"
+    key="test.example" partial=2 affix=*. starflags=0 opts=NULL
+  LRU list:
+    0TESTSUITE/aux-fixed/0471.rw
+    End
+  internal_search_find: file="TESTSUITE/aux-fixed/0471.rw"
+    type=lsearch key="test.example" opts=NULL
+  cached data used for lookup of test.example
+    in TESTSUITE/aux-fixed/0471.rw
+  lookup yielded: rwtest.example
 LOG: address_rewrite MAIN
-  "random@test.example" from to: rewritten as "random@rwtest.example" by rule 1
+  "random@test.example" from to: rewritten as "random@rwtest.example" by rule 2
 newlen=4337 newtype=T newtext:
 To: random@rwtest.example,
     random@rwtest.example,
@@ -23371,23 +24689,32 @@ remainder: random@test.example,
     random@test.example,
     random@test.example,
     random@test.example
-address match test: subject=random@test.example pattern=*@*
-test.example in "*"? yes (matched "*")
-random@test.example in "*@*"? yes (matched "*@*")
- search_open: lsearch "TESTSUITE/aux-fixed/0471.rw"
-   cached open
- search_find: file="TESTSUITE/aux-fixed/0471.rw"
-   key="test.example" partial=2 affix=*. starflags=0 opts=NULL
- LRU list:
-   0TESTSUITE/aux-fixed/0471.rw
-   End
- internal_search_find: file="TESTSUITE/aux-fixed/0471.rw"
-   type=lsearch key="test.example" opts=NULL
- cached data used for lookup of test.example
-   in TESTSUITE/aux-fixed/0471.rw
- lookup yielded: rwtest.example
+ random@test.example in "^.{40,}@*"?
+  list element: ^.{40,}@*
+  address match test: subject=random@test.example pattern=^.{40,}@*
+  compiled RE '^.{40,}@*' found in local cache
+ random@test.example in "^.{40,}@*"? no (end of list)
+ random@test.example in "*@*"?
+  list element: *@*
+  address match test: subject=random@test.example pattern=*@*
+  test.example in "*"?
+   list element: *
+   test.example in "*"? yes (matched "*")
+  random@test.example in "*@*"? yes (matched "*@*")
+  search_open: lsearch "TESTSUITE/aux-fixed/0471.rw"
+    cached open
+  search_find: file="TESTSUITE/aux-fixed/0471.rw"
+    key="test.example" partial=2 affix=*. starflags=0 opts=NULL
+  LRU list:
+    0TESTSUITE/aux-fixed/0471.rw
+    End
+  internal_search_find: file="TESTSUITE/aux-fixed/0471.rw"
+    type=lsearch key="test.example" opts=NULL
+  cached data used for lookup of test.example
+    in TESTSUITE/aux-fixed/0471.rw
+  lookup yielded: rwtest.example
 LOG: address_rewrite MAIN
-  "random@test.example" from to: rewritten as "random@rwtest.example" by rule 1
+  "random@test.example" from to: rewritten as "random@rwtest.example" by rule 2
 newlen=4339 newtype=T newtext:
 To: random@rwtest.example,
     random@rwtest.example,
@@ -23480,23 +24807,32 @@ remainder: random@test.example,
     random@test.example,
     random@test.example,
     random@test.example
-address match test: subject=random@test.example pattern=*@*
-test.example in "*"? yes (matched "*")
-random@test.example in "*@*"? yes (matched "*@*")
- search_open: lsearch "TESTSUITE/aux-fixed/0471.rw"
-   cached open
- search_find: file="TESTSUITE/aux-fixed/0471.rw"
-   key="test.example" partial=2 affix=*. starflags=0 opts=NULL
- LRU list:
-   0TESTSUITE/aux-fixed/0471.rw
-   End
- internal_search_find: file="TESTSUITE/aux-fixed/0471.rw"
-   type=lsearch key="test.example" opts=NULL
- cached data used for lookup of test.example
-   in TESTSUITE/aux-fixed/0471.rw
- lookup yielded: rwtest.example
+ random@test.example in "^.{40,}@*"?
+  list element: ^.{40,}@*
+  address match test: subject=random@test.example pattern=^.{40,}@*
+  compiled RE '^.{40,}@*' found in local cache
+ random@test.example in "^.{40,}@*"? no (end of list)
+ random@test.example in "*@*"?
+  list element: *@*
+  address match test: subject=random@test.example pattern=*@*
+  test.example in "*"?
+   list element: *
+   test.example in "*"? yes (matched "*")
+  random@test.example in "*@*"? yes (matched "*@*")
+  search_open: lsearch "TESTSUITE/aux-fixed/0471.rw"
+    cached open
+  search_find: file="TESTSUITE/aux-fixed/0471.rw"
+    key="test.example" partial=2 affix=*. starflags=0 opts=NULL
+  LRU list:
+    0TESTSUITE/aux-fixed/0471.rw
+    End
+  internal_search_find: file="TESTSUITE/aux-fixed/0471.rw"
+    type=lsearch key="test.example" opts=NULL
+  cached data used for lookup of test.example
+    in TESTSUITE/aux-fixed/0471.rw
+  lookup yielded: rwtest.example
 LOG: address_rewrite MAIN
-  "random@test.example" from to: rewritten as "random@rwtest.example" by rule 1
+  "random@test.example" from to: rewritten as "random@rwtest.example" by rule 2
 newlen=4341 newtype=T newtext:
 To: random@rwtest.example,
     random@rwtest.example,
@@ -23588,23 +24924,32 @@ remainder: random@test.example,
     random@test.example,
     random@test.example,
     random@test.example
-address match test: subject=random@test.example pattern=*@*
-test.example in "*"? yes (matched "*")
-random@test.example in "*@*"? yes (matched "*@*")
- search_open: lsearch "TESTSUITE/aux-fixed/0471.rw"
-   cached open
- search_find: file="TESTSUITE/aux-fixed/0471.rw"
-   key="test.example" partial=2 affix=*. starflags=0 opts=NULL
- LRU list:
-   0TESTSUITE/aux-fixed/0471.rw
-   End
- internal_search_find: file="TESTSUITE/aux-fixed/0471.rw"
-   type=lsearch key="test.example" opts=NULL
- cached data used for lookup of test.example
-   in TESTSUITE/aux-fixed/0471.rw
- lookup yielded: rwtest.example
+ random@test.example in "^.{40,}@*"?
+  list element: ^.{40,}@*
+  address match test: subject=random@test.example pattern=^.{40,}@*
+  compiled RE '^.{40,}@*' found in local cache
+ random@test.example in "^.{40,}@*"? no (end of list)
+ random@test.example in "*@*"?
+  list element: *@*
+  address match test: subject=random@test.example pattern=*@*
+  test.example in "*"?
+   list element: *
+   test.example in "*"? yes (matched "*")
+  random@test.example in "*@*"? yes (matched "*@*")
+  search_open: lsearch "TESTSUITE/aux-fixed/0471.rw"
+    cached open
+  search_find: file="TESTSUITE/aux-fixed/0471.rw"
+    key="test.example" partial=2 affix=*. starflags=0 opts=NULL
+  LRU list:
+    0TESTSUITE/aux-fixed/0471.rw
+    End
+  internal_search_find: file="TESTSUITE/aux-fixed/0471.rw"
+    type=lsearch key="test.example" opts=NULL
+  cached data used for lookup of test.example
+    in TESTSUITE/aux-fixed/0471.rw
+  lookup yielded: rwtest.example
 LOG: address_rewrite MAIN
-  "random@test.example" from to: rewritten as "random@rwtest.example" by rule 1
+  "random@test.example" from to: rewritten as "random@rwtest.example" by rule 2
 newlen=4343 newtype=T newtext:
 To: random@rwtest.example,
     random@rwtest.example,
@@ -23695,23 +25040,32 @@ remainder: random@test.example,
     random@test.example,
     random@test.example,
     random@test.example
-address match test: subject=random@test.example pattern=*@*
-test.example in "*"? yes (matched "*")
-random@test.example in "*@*"? yes (matched "*@*")
- search_open: lsearch "TESTSUITE/aux-fixed/0471.rw"
-   cached open
- search_find: file="TESTSUITE/aux-fixed/0471.rw"
-   key="test.example" partial=2 affix=*. starflags=0 opts=NULL
- LRU list:
-   0TESTSUITE/aux-fixed/0471.rw
-   End
- internal_search_find: file="TESTSUITE/aux-fixed/0471.rw"
-   type=lsearch key="test.example" opts=NULL
- cached data used for lookup of test.example
-   in TESTSUITE/aux-fixed/0471.rw
- lookup yielded: rwtest.example
+ random@test.example in "^.{40,}@*"?
+  list element: ^.{40,}@*
+  address match test: subject=random@test.example pattern=^.{40,}@*
+  compiled RE '^.{40,}@*' found in local cache
+ random@test.example in "^.{40,}@*"? no (end of list)
+ random@test.example in "*@*"?
+  list element: *@*
+  address match test: subject=random@test.example pattern=*@*
+  test.example in "*"?
+   list element: *
+   test.example in "*"? yes (matched "*")
+  random@test.example in "*@*"? yes (matched "*@*")
+  search_open: lsearch "TESTSUITE/aux-fixed/0471.rw"
+    cached open
+  search_find: file="TESTSUITE/aux-fixed/0471.rw"
+    key="test.example" partial=2 affix=*. starflags=0 opts=NULL
+  LRU list:
+    0TESTSUITE/aux-fixed/0471.rw
+    End
+  internal_search_find: file="TESTSUITE/aux-fixed/0471.rw"
+    type=lsearch key="test.example" opts=NULL
+  cached data used for lookup of test.example
+    in TESTSUITE/aux-fixed/0471.rw
+  lookup yielded: rwtest.example
 LOG: address_rewrite MAIN
-  "random@test.example" from to: rewritten as "random@rwtest.example" by rule 1
+  "random@test.example" from to: rewritten as "random@rwtest.example" by rule 2
 newlen=4345 newtype=T newtext:
 To: random@rwtest.example,
     random@rwtest.example,
@@ -23801,23 +25155,32 @@ remainder: random@test.example,
     random@test.example,
     random@test.example,
     random@test.example
-address match test: subject=random@test.example pattern=*@*
-test.example in "*"? yes (matched "*")
-random@test.example in "*@*"? yes (matched "*@*")
- search_open: lsearch "TESTSUITE/aux-fixed/0471.rw"
-   cached open
- search_find: file="TESTSUITE/aux-fixed/0471.rw"
-   key="test.example" partial=2 affix=*. starflags=0 opts=NULL
- LRU list:
-   0TESTSUITE/aux-fixed/0471.rw
-   End
- internal_search_find: file="TESTSUITE/aux-fixed/0471.rw"
-   type=lsearch key="test.example" opts=NULL
- cached data used for lookup of test.example
-   in TESTSUITE/aux-fixed/0471.rw
- lookup yielded: rwtest.example
+ random@test.example in "^.{40,}@*"?
+  list element: ^.{40,}@*
+  address match test: subject=random@test.example pattern=^.{40,}@*
+  compiled RE '^.{40,}@*' found in local cache
+ random@test.example in "^.{40,}@*"? no (end of list)
+ random@test.example in "*@*"?
+  list element: *@*
+  address match test: subject=random@test.example pattern=*@*
+  test.example in "*"?
+   list element: *
+   test.example in "*"? yes (matched "*")
+  random@test.example in "*@*"? yes (matched "*@*")
+  search_open: lsearch "TESTSUITE/aux-fixed/0471.rw"
+    cached open
+  search_find: file="TESTSUITE/aux-fixed/0471.rw"
+    key="test.example" partial=2 affix=*. starflags=0 opts=NULL
+  LRU list:
+    0TESTSUITE/aux-fixed/0471.rw
+    End
+  internal_search_find: file="TESTSUITE/aux-fixed/0471.rw"
+    type=lsearch key="test.example" opts=NULL
+  cached data used for lookup of test.example
+    in TESTSUITE/aux-fixed/0471.rw
+  lookup yielded: rwtest.example
 LOG: address_rewrite MAIN
-  "random@test.example" from to: rewritten as "random@rwtest.example" by rule 1
+  "random@test.example" from to: rewritten as "random@rwtest.example" by rule 2
 newlen=4347 newtype=T newtext:
 To: random@rwtest.example,
     random@rwtest.example,
@@ -23906,23 +25269,32 @@ remainder: random@test.example,
     random@test.example,
     random@test.example,
     random@test.example
-address match test: subject=random@test.example pattern=*@*
-test.example in "*"? yes (matched "*")
-random@test.example in "*@*"? yes (matched "*@*")
- search_open: lsearch "TESTSUITE/aux-fixed/0471.rw"
-   cached open
- search_find: file="TESTSUITE/aux-fixed/0471.rw"
-   key="test.example" partial=2 affix=*. starflags=0 opts=NULL
- LRU list:
-   0TESTSUITE/aux-fixed/0471.rw
-   End
- internal_search_find: file="TESTSUITE/aux-fixed/0471.rw"
-   type=lsearch key="test.example" opts=NULL
- cached data used for lookup of test.example
-   in TESTSUITE/aux-fixed/0471.rw
- lookup yielded: rwtest.example
+ random@test.example in "^.{40,}@*"?
+  list element: ^.{40,}@*
+  address match test: subject=random@test.example pattern=^.{40,}@*
+  compiled RE '^.{40,}@*' found in local cache
+ random@test.example in "^.{40,}@*"? no (end of list)
+ random@test.example in "*@*"?
+  list element: *@*
+  address match test: subject=random@test.example pattern=*@*
+  test.example in "*"?
+   list element: *
+   test.example in "*"? yes (matched "*")
+  random@test.example in "*@*"? yes (matched "*@*")
+  search_open: lsearch "TESTSUITE/aux-fixed/0471.rw"
+    cached open
+  search_find: file="TESTSUITE/aux-fixed/0471.rw"
+    key="test.example" partial=2 affix=*. starflags=0 opts=NULL
+  LRU list:
+    0TESTSUITE/aux-fixed/0471.rw
+    End
+  internal_search_find: file="TESTSUITE/aux-fixed/0471.rw"
+    type=lsearch key="test.example" opts=NULL
+  cached data used for lookup of test.example
+    in TESTSUITE/aux-fixed/0471.rw
+  lookup yielded: rwtest.example
 LOG: address_rewrite MAIN
-  "random@test.example" from to: rewritten as "random@rwtest.example" by rule 1
+  "random@test.example" from to: rewritten as "random@rwtest.example" by rule 2
 newlen=4349 newtype=T newtext:
 To: random@rwtest.example,
     random@rwtest.example,
@@ -24010,23 +25382,32 @@ remainder: random@test.example,
     random@test.example,
     random@test.example,
     random@test.example
-address match test: subject=random@test.example pattern=*@*
-test.example in "*"? yes (matched "*")
-random@test.example in "*@*"? yes (matched "*@*")
- search_open: lsearch "TESTSUITE/aux-fixed/0471.rw"
-   cached open
- search_find: file="TESTSUITE/aux-fixed/0471.rw"
-   key="test.example" partial=2 affix=*. starflags=0 opts=NULL
- LRU list:
-   0TESTSUITE/aux-fixed/0471.rw
-   End
- internal_search_find: file="TESTSUITE/aux-fixed/0471.rw"
-   type=lsearch key="test.example" opts=NULL
- cached data used for lookup of test.example
-   in TESTSUITE/aux-fixed/0471.rw
- lookup yielded: rwtest.example
+ random@test.example in "^.{40,}@*"?
+  list element: ^.{40,}@*
+  address match test: subject=random@test.example pattern=^.{40,}@*
+  compiled RE '^.{40,}@*' found in local cache
+ random@test.example in "^.{40,}@*"? no (end of list)
+ random@test.example in "*@*"?
+  list element: *@*
+  address match test: subject=random@test.example pattern=*@*
+  test.example in "*"?
+   list element: *
+   test.example in "*"? yes (matched "*")
+  random@test.example in "*@*"? yes (matched "*@*")
+  search_open: lsearch "TESTSUITE/aux-fixed/0471.rw"
+    cached open
+  search_find: file="TESTSUITE/aux-fixed/0471.rw"
+    key="test.example" partial=2 affix=*. starflags=0 opts=NULL
+  LRU list:
+    0TESTSUITE/aux-fixed/0471.rw
+    End
+  internal_search_find: file="TESTSUITE/aux-fixed/0471.rw"
+    type=lsearch key="test.example" opts=NULL
+  cached data used for lookup of test.example
+    in TESTSUITE/aux-fixed/0471.rw
+  lookup yielded: rwtest.example
 LOG: address_rewrite MAIN
-  "random@test.example" from to: rewritten as "random@rwtest.example" by rule 1
+  "random@test.example" from to: rewritten as "random@rwtest.example" by rule 2
 newlen=4351 newtype=T newtext:
 To: random@rwtest.example,
     random@rwtest.example,
@@ -24113,23 +25494,32 @@ remainder: random@test.example,
     random@test.example,
     random@test.example,
     random@test.example
-address match test: subject=random@test.example pattern=*@*
-test.example in "*"? yes (matched "*")
-random@test.example in "*@*"? yes (matched "*@*")
- search_open: lsearch "TESTSUITE/aux-fixed/0471.rw"
-   cached open
- search_find: file="TESTSUITE/aux-fixed/0471.rw"
-   key="test.example" partial=2 affix=*. starflags=0 opts=NULL
- LRU list:
-   0TESTSUITE/aux-fixed/0471.rw
-   End
- internal_search_find: file="TESTSUITE/aux-fixed/0471.rw"
-   type=lsearch key="test.example" opts=NULL
- cached data used for lookup of test.example
-   in TESTSUITE/aux-fixed/0471.rw
- lookup yielded: rwtest.example
+ random@test.example in "^.{40,}@*"?
+  list element: ^.{40,}@*
+  address match test: subject=random@test.example pattern=^.{40,}@*
+  compiled RE '^.{40,}@*' found in local cache
+ random@test.example in "^.{40,}@*"? no (end of list)
+ random@test.example in "*@*"?
+  list element: *@*
+  address match test: subject=random@test.example pattern=*@*
+  test.example in "*"?
+   list element: *
+   test.example in "*"? yes (matched "*")
+  random@test.example in "*@*"? yes (matched "*@*")
+  search_open: lsearch "TESTSUITE/aux-fixed/0471.rw"
+    cached open
+  search_find: file="TESTSUITE/aux-fixed/0471.rw"
+    key="test.example" partial=2 affix=*. starflags=0 opts=NULL
+  LRU list:
+    0TESTSUITE/aux-fixed/0471.rw
+    End
+  internal_search_find: file="TESTSUITE/aux-fixed/0471.rw"
+    type=lsearch key="test.example" opts=NULL
+  cached data used for lookup of test.example
+    in TESTSUITE/aux-fixed/0471.rw
+  lookup yielded: rwtest.example
 LOG: address_rewrite MAIN
-  "random@test.example" from to: rewritten as "random@rwtest.example" by rule 1
+  "random@test.example" from to: rewritten as "random@rwtest.example" by rule 2
 newlen=4353 newtype=T newtext:
 To: random@rwtest.example,
     random@rwtest.example,
@@ -24215,23 +25605,32 @@ remainder: random@test.example,
     random@test.example,
     random@test.example,
     random@test.example
-address match test: subject=random@test.example pattern=*@*
-test.example in "*"? yes (matched "*")
-random@test.example in "*@*"? yes (matched "*@*")
- search_open: lsearch "TESTSUITE/aux-fixed/0471.rw"
-   cached open
- search_find: file="TESTSUITE/aux-fixed/0471.rw"
-   key="test.example" partial=2 affix=*. starflags=0 opts=NULL
- LRU list:
-   0TESTSUITE/aux-fixed/0471.rw
-   End
- internal_search_find: file="TESTSUITE/aux-fixed/0471.rw"
-   type=lsearch key="test.example" opts=NULL
- cached data used for lookup of test.example
-   in TESTSUITE/aux-fixed/0471.rw
- lookup yielded: rwtest.example
+ random@test.example in "^.{40,}@*"?
+  list element: ^.{40,}@*
+  address match test: subject=random@test.example pattern=^.{40,}@*
+  compiled RE '^.{40,}@*' found in local cache
+ random@test.example in "^.{40,}@*"? no (end of list)
+ random@test.example in "*@*"?
+  list element: *@*
+  address match test: subject=random@test.example pattern=*@*
+  test.example in "*"?
+   list element: *
+   test.example in "*"? yes (matched "*")
+  random@test.example in "*@*"? yes (matched "*@*")
+  search_open: lsearch "TESTSUITE/aux-fixed/0471.rw"
+    cached open
+  search_find: file="TESTSUITE/aux-fixed/0471.rw"
+    key="test.example" partial=2 affix=*. starflags=0 opts=NULL
+  LRU list:
+    0TESTSUITE/aux-fixed/0471.rw
+    End
+  internal_search_find: file="TESTSUITE/aux-fixed/0471.rw"
+    type=lsearch key="test.example" opts=NULL
+  cached data used for lookup of test.example
+    in TESTSUITE/aux-fixed/0471.rw
+  lookup yielded: rwtest.example
 LOG: address_rewrite MAIN
-  "random@test.example" from to: rewritten as "random@rwtest.example" by rule 1
+  "random@test.example" from to: rewritten as "random@rwtest.example" by rule 2
 newlen=4355 newtype=T newtext:
 To: random@rwtest.example,
     random@rwtest.example,
@@ -24316,23 +25715,32 @@ remainder: random@test.example,
     random@test.example,
     random@test.example,
     random@test.example
-address match test: subject=random@test.example pattern=*@*
-test.example in "*"? yes (matched "*")
-random@test.example in "*@*"? yes (matched "*@*")
- search_open: lsearch "TESTSUITE/aux-fixed/0471.rw"
-   cached open
- search_find: file="TESTSUITE/aux-fixed/0471.rw"
-   key="test.example" partial=2 affix=*. starflags=0 opts=NULL
- LRU list:
-   0TESTSUITE/aux-fixed/0471.rw
-   End
- internal_search_find: file="TESTSUITE/aux-fixed/0471.rw"
-   type=lsearch key="test.example" opts=NULL
- cached data used for lookup of test.example
-   in TESTSUITE/aux-fixed/0471.rw
- lookup yielded: rwtest.example
+ random@test.example in "^.{40,}@*"?
+  list element: ^.{40,}@*
+  address match test: subject=random@test.example pattern=^.{40,}@*
+  compiled RE '^.{40,}@*' found in local cache
+ random@test.example in "^.{40,}@*"? no (end of list)
+ random@test.example in "*@*"?
+  list element: *@*
+  address match test: subject=random@test.example pattern=*@*
+  test.example in "*"?
+   list element: *
+   test.example in "*"? yes (matched "*")
+  random@test.example in "*@*"? yes (matched "*@*")
+  search_open: lsearch "TESTSUITE/aux-fixed/0471.rw"
+    cached open
+  search_find: file="TESTSUITE/aux-fixed/0471.rw"
+    key="test.example" partial=2 affix=*. starflags=0 opts=NULL
+  LRU list:
+    0TESTSUITE/aux-fixed/0471.rw
+    End
+  internal_search_find: file="TESTSUITE/aux-fixed/0471.rw"
+    type=lsearch key="test.example" opts=NULL
+  cached data used for lookup of test.example
+    in TESTSUITE/aux-fixed/0471.rw
+  lookup yielded: rwtest.example
 LOG: address_rewrite MAIN
-  "random@test.example" from to: rewritten as "random@rwtest.example" by rule 1
+  "random@test.example" from to: rewritten as "random@rwtest.example" by rule 2
 newlen=4357 newtype=T newtext:
 To: random@rwtest.example,
     random@rwtest.example,
@@ -24416,23 +25824,32 @@ remainder: random@test.example,
     random@test.example,
     random@test.example,
     random@test.example
-address match test: subject=random@test.example pattern=*@*
-test.example in "*"? yes (matched "*")
-random@test.example in "*@*"? yes (matched "*@*")
- search_open: lsearch "TESTSUITE/aux-fixed/0471.rw"
-   cached open
- search_find: file="TESTSUITE/aux-fixed/0471.rw"
-   key="test.example" partial=2 affix=*. starflags=0 opts=NULL
- LRU list:
-   0TESTSUITE/aux-fixed/0471.rw
-   End
- internal_search_find: file="TESTSUITE/aux-fixed/0471.rw"
-   type=lsearch key="test.example" opts=NULL
- cached data used for lookup of test.example
-   in TESTSUITE/aux-fixed/0471.rw
- lookup yielded: rwtest.example
+ random@test.example in "^.{40,}@*"?
+  list element: ^.{40,}@*
+  address match test: subject=random@test.example pattern=^.{40,}@*
+  compiled RE '^.{40,}@*' found in local cache
+ random@test.example in "^.{40,}@*"? no (end of list)
+ random@test.example in "*@*"?
+  list element: *@*
+  address match test: subject=random@test.example pattern=*@*
+  test.example in "*"?
+   list element: *
+   test.example in "*"? yes (matched "*")
+  random@test.example in "*@*"? yes (matched "*@*")
+  search_open: lsearch "TESTSUITE/aux-fixed/0471.rw"
+    cached open
+  search_find: file="TESTSUITE/aux-fixed/0471.rw"
+    key="test.example" partial=2 affix=*. starflags=0 opts=NULL
+  LRU list:
+    0TESTSUITE/aux-fixed/0471.rw
+    End
+  internal_search_find: file="TESTSUITE/aux-fixed/0471.rw"
+    type=lsearch key="test.example" opts=NULL
+  cached data used for lookup of test.example
+    in TESTSUITE/aux-fixed/0471.rw
+  lookup yielded: rwtest.example
 LOG: address_rewrite MAIN
-  "random@test.example" from to: rewritten as "random@rwtest.example" by rule 1
+  "random@test.example" from to: rewritten as "random@rwtest.example" by rule 2
 newlen=4359 newtype=T newtext:
 To: random@rwtest.example,
     random@rwtest.example,
@@ -24515,23 +25932,32 @@ remainder: random@test.example,
     random@test.example,
     random@test.example,
     random@test.example
-address match test: subject=random@test.example pattern=*@*
-test.example in "*"? yes (matched "*")
-random@test.example in "*@*"? yes (matched "*@*")
- search_open: lsearch "TESTSUITE/aux-fixed/0471.rw"
-   cached open
- search_find: file="TESTSUITE/aux-fixed/0471.rw"
-   key="test.example" partial=2 affix=*. starflags=0 opts=NULL
- LRU list:
-   0TESTSUITE/aux-fixed/0471.rw
-   End
- internal_search_find: file="TESTSUITE/aux-fixed/0471.rw"
-   type=lsearch key="test.example" opts=NULL
- cached data used for lookup of test.example
-   in TESTSUITE/aux-fixed/0471.rw
- lookup yielded: rwtest.example
+ random@test.example in "^.{40,}@*"?
+  list element: ^.{40,}@*
+  address match test: subject=random@test.example pattern=^.{40,}@*
+  compiled RE '^.{40,}@*' found in local cache
+ random@test.example in "^.{40,}@*"? no (end of list)
+ random@test.example in "*@*"?
+  list element: *@*
+  address match test: subject=random@test.example pattern=*@*
+  test.example in "*"?
+   list element: *
+   test.example in "*"? yes (matched "*")
+  random@test.example in "*@*"? yes (matched "*@*")
+  search_open: lsearch "TESTSUITE/aux-fixed/0471.rw"
+    cached open
+  search_find: file="TESTSUITE/aux-fixed/0471.rw"
+    key="test.example" partial=2 affix=*. starflags=0 opts=NULL
+  LRU list:
+    0TESTSUITE/aux-fixed/0471.rw
+    End
+  internal_search_find: file="TESTSUITE/aux-fixed/0471.rw"
+    type=lsearch key="test.example" opts=NULL
+  cached data used for lookup of test.example
+    in TESTSUITE/aux-fixed/0471.rw
+  lookup yielded: rwtest.example
 LOG: address_rewrite MAIN
-  "random@test.example" from to: rewritten as "random@rwtest.example" by rule 1
+  "random@test.example" from to: rewritten as "random@rwtest.example" by rule 2
 newlen=4361 newtype=T newtext:
 To: random@rwtest.example,
     random@rwtest.example,
@@ -24613,23 +26039,32 @@ remainder: random@test.example,
     random@test.example,
     random@test.example,
     random@test.example
-address match test: subject=random@test.example pattern=*@*
-test.example in "*"? yes (matched "*")
-random@test.example in "*@*"? yes (matched "*@*")
- search_open: lsearch "TESTSUITE/aux-fixed/0471.rw"
-   cached open
- search_find: file="TESTSUITE/aux-fixed/0471.rw"
-   key="test.example" partial=2 affix=*. starflags=0 opts=NULL
- LRU list:
-   0TESTSUITE/aux-fixed/0471.rw
-   End
- internal_search_find: file="TESTSUITE/aux-fixed/0471.rw"
-   type=lsearch key="test.example" opts=NULL
- cached data used for lookup of test.example
-   in TESTSUITE/aux-fixed/0471.rw
- lookup yielded: rwtest.example
+ random@test.example in "^.{40,}@*"?
+  list element: ^.{40,}@*
+  address match test: subject=random@test.example pattern=^.{40,}@*
+  compiled RE '^.{40,}@*' found in local cache
+ random@test.example in "^.{40,}@*"? no (end of list)
+ random@test.example in "*@*"?
+  list element: *@*
+  address match test: subject=random@test.example pattern=*@*
+  test.example in "*"?
+   list element: *
+   test.example in "*"? yes (matched "*")
+  random@test.example in "*@*"? yes (matched "*@*")
+  search_open: lsearch "TESTSUITE/aux-fixed/0471.rw"
+    cached open
+  search_find: file="TESTSUITE/aux-fixed/0471.rw"
+    key="test.example" partial=2 affix=*. starflags=0 opts=NULL
+  LRU list:
+    0TESTSUITE/aux-fixed/0471.rw
+    End
+  internal_search_find: file="TESTSUITE/aux-fixed/0471.rw"
+    type=lsearch key="test.example" opts=NULL
+  cached data used for lookup of test.example
+    in TESTSUITE/aux-fixed/0471.rw
+  lookup yielded: rwtest.example
 LOG: address_rewrite MAIN
-  "random@test.example" from to: rewritten as "random@rwtest.example" by rule 1
+  "random@test.example" from to: rewritten as "random@rwtest.example" by rule 2
 newlen=4363 newtype=T newtext:
 To: random@rwtest.example,
     random@rwtest.example,
@@ -24710,23 +26145,32 @@ remainder: random@test.example,
     random@test.example,
     random@test.example,
     random@test.example
-address match test: subject=random@test.example pattern=*@*
-test.example in "*"? yes (matched "*")
-random@test.example in "*@*"? yes (matched "*@*")
- search_open: lsearch "TESTSUITE/aux-fixed/0471.rw"
-   cached open
- search_find: file="TESTSUITE/aux-fixed/0471.rw"
-   key="test.example" partial=2 affix=*. starflags=0 opts=NULL
- LRU list:
-   0TESTSUITE/aux-fixed/0471.rw
-   End
- internal_search_find: file="TESTSUITE/aux-fixed/0471.rw"
-   type=lsearch key="test.example" opts=NULL
- cached data used for lookup of test.example
-   in TESTSUITE/aux-fixed/0471.rw
- lookup yielded: rwtest.example
+ random@test.example in "^.{40,}@*"?
+  list element: ^.{40,}@*
+  address match test: subject=random@test.example pattern=^.{40,}@*
+  compiled RE '^.{40,}@*' found in local cache
+ random@test.example in "^.{40,}@*"? no (end of list)
+ random@test.example in "*@*"?
+  list element: *@*
+  address match test: subject=random@test.example pattern=*@*
+  test.example in "*"?
+   list element: *
+   test.example in "*"? yes (matched "*")
+  random@test.example in "*@*"? yes (matched "*@*")
+  search_open: lsearch "TESTSUITE/aux-fixed/0471.rw"
+    cached open
+  search_find: file="TESTSUITE/aux-fixed/0471.rw"
+    key="test.example" partial=2 affix=*. starflags=0 opts=NULL
+  LRU list:
+    0TESTSUITE/aux-fixed/0471.rw
+    End
+  internal_search_find: file="TESTSUITE/aux-fixed/0471.rw"
+    type=lsearch key="test.example" opts=NULL
+  cached data used for lookup of test.example
+    in TESTSUITE/aux-fixed/0471.rw
+  lookup yielded: rwtest.example
 LOG: address_rewrite MAIN
-  "random@test.example" from to: rewritten as "random@rwtest.example" by rule 1
+  "random@test.example" from to: rewritten as "random@rwtest.example" by rule 2
 newlen=4365 newtype=T newtext:
 To: random@rwtest.example,
     random@rwtest.example,
@@ -24806,23 +26250,32 @@ remainder: random@test.example,
     random@test.example,
     random@test.example,
     random@test.example
-address match test: subject=random@test.example pattern=*@*
-test.example in "*"? yes (matched "*")
-random@test.example in "*@*"? yes (matched "*@*")
- search_open: lsearch "TESTSUITE/aux-fixed/0471.rw"
-   cached open
- search_find: file="TESTSUITE/aux-fixed/0471.rw"
-   key="test.example" partial=2 affix=*. starflags=0 opts=NULL
- LRU list:
-   0TESTSUITE/aux-fixed/0471.rw
-   End
- internal_search_find: file="TESTSUITE/aux-fixed/0471.rw"
-   type=lsearch key="test.example" opts=NULL
- cached data used for lookup of test.example
-   in TESTSUITE/aux-fixed/0471.rw
- lookup yielded: rwtest.example
+ random@test.example in "^.{40,}@*"?
+  list element: ^.{40,}@*
+  address match test: subject=random@test.example pattern=^.{40,}@*
+  compiled RE '^.{40,}@*' found in local cache
+ random@test.example in "^.{40,}@*"? no (end of list)
+ random@test.example in "*@*"?
+  list element: *@*
+  address match test: subject=random@test.example pattern=*@*
+  test.example in "*"?
+   list element: *
+   test.example in "*"? yes (matched "*")
+  random@test.example in "*@*"? yes (matched "*@*")
+  search_open: lsearch "TESTSUITE/aux-fixed/0471.rw"
+    cached open
+  search_find: file="TESTSUITE/aux-fixed/0471.rw"
+    key="test.example" partial=2 affix=*. starflags=0 opts=NULL
+  LRU list:
+    0TESTSUITE/aux-fixed/0471.rw
+    End
+  internal_search_find: file="TESTSUITE/aux-fixed/0471.rw"
+    type=lsearch key="test.example" opts=NULL
+  cached data used for lookup of test.example
+    in TESTSUITE/aux-fixed/0471.rw
+  lookup yielded: rwtest.example
 LOG: address_rewrite MAIN
-  "random@test.example" from to: rewritten as "random@rwtest.example" by rule 1
+  "random@test.example" from to: rewritten as "random@rwtest.example" by rule 2
 newlen=4367 newtype=T newtext:
 To: random@rwtest.example,
     random@rwtest.example,
@@ -24901,23 +26354,32 @@ To: random@rwtest.example,
 remainder: random@test.example,
     random@test.example,
     random@test.example
-address match test: subject=random@test.example pattern=*@*
-test.example in "*"? yes (matched "*")
-random@test.example in "*@*"? yes (matched "*@*")
- search_open: lsearch "TESTSUITE/aux-fixed/0471.rw"
-   cached open
- search_find: file="TESTSUITE/aux-fixed/0471.rw"
-   key="test.example" partial=2 affix=*. starflags=0 opts=NULL
- LRU list:
-   0TESTSUITE/aux-fixed/0471.rw
-   End
- internal_search_find: file="TESTSUITE/aux-fixed/0471.rw"
-   type=lsearch key="test.example" opts=NULL
- cached data used for lookup of test.example
-   in TESTSUITE/aux-fixed/0471.rw
- lookup yielded: rwtest.example
+ random@test.example in "^.{40,}@*"?
+  list element: ^.{40,}@*
+  address match test: subject=random@test.example pattern=^.{40,}@*
+  compiled RE '^.{40,}@*' found in local cache
+ random@test.example in "^.{40,}@*"? no (end of list)
+ random@test.example in "*@*"?
+  list element: *@*
+  address match test: subject=random@test.example pattern=*@*
+  test.example in "*"?
+   list element: *
+   test.example in "*"? yes (matched "*")
+  random@test.example in "*@*"? yes (matched "*@*")
+  search_open: lsearch "TESTSUITE/aux-fixed/0471.rw"
+    cached open
+  search_find: file="TESTSUITE/aux-fixed/0471.rw"
+    key="test.example" partial=2 affix=*. starflags=0 opts=NULL
+  LRU list:
+    0TESTSUITE/aux-fixed/0471.rw
+    End
+  internal_search_find: file="TESTSUITE/aux-fixed/0471.rw"
+    type=lsearch key="test.example" opts=NULL
+  cached data used for lookup of test.example
+    in TESTSUITE/aux-fixed/0471.rw
+  lookup yielded: rwtest.example
 LOG: address_rewrite MAIN
-  "random@test.example" from to: rewritten as "random@rwtest.example" by rule 1
+  "random@test.example" from to: rewritten as "random@rwtest.example" by rule 2
 newlen=4369 newtype=T newtext:
 To: random@rwtest.example,
     random@rwtest.example,
@@ -24995,23 +26457,32 @@ To: random@rwtest.example,
 **** debug string too long - truncated ****
 remainder: random@test.example,
     random@test.example
-address match test: subject=random@test.example pattern=*@*
-test.example in "*"? yes (matched "*")
-random@test.example in "*@*"? yes (matched "*@*")
- search_open: lsearch "TESTSUITE/aux-fixed/0471.rw"
-   cached open
- search_find: file="TESTSUITE/aux-fixed/0471.rw"
-   key="test.example" partial=2 affix=*. starflags=0 opts=NULL
- LRU list:
-   0TESTSUITE/aux-fixed/0471.rw
-   End
- internal_search_find: file="TESTSUITE/aux-fixed/0471.rw"
-   type=lsearch key="test.example" opts=NULL
- cached data used for lookup of test.example
-   in TESTSUITE/aux-fixed/0471.rw
- lookup yielded: rwtest.example
+ random@test.example in "^.{40,}@*"?
+  list element: ^.{40,}@*
+  address match test: subject=random@test.example pattern=^.{40,}@*
+  compiled RE '^.{40,}@*' found in local cache
+ random@test.example in "^.{40,}@*"? no (end of list)
+ random@test.example in "*@*"?
+  list element: *@*
+  address match test: subject=random@test.example pattern=*@*
+  test.example in "*"?
+   list element: *
+   test.example in "*"? yes (matched "*")
+  random@test.example in "*@*"? yes (matched "*@*")
+  search_open: lsearch "TESTSUITE/aux-fixed/0471.rw"
+    cached open
+  search_find: file="TESTSUITE/aux-fixed/0471.rw"
+    key="test.example" partial=2 affix=*. starflags=0 opts=NULL
+  LRU list:
+    0TESTSUITE/aux-fixed/0471.rw
+    End
+  internal_search_find: file="TESTSUITE/aux-fixed/0471.rw"
+    type=lsearch key="test.example" opts=NULL
+  cached data used for lookup of test.example
+    in TESTSUITE/aux-fixed/0471.rw
+  lookup yielded: rwtest.example
 LOG: address_rewrite MAIN
-  "random@test.example" from to: rewritten as "random@rwtest.example" by rule 1
+  "random@test.example" from to: rewritten as "random@rwtest.example" by rule 2
 newlen=4371 newtype=T newtext:
 To: random@rwtest.example,
     random@rwtest.example,
@@ -25088,23 +26559,32 @@ To: random@rwtest.example,
     random@rwtest.example,
 **** debug string too long - truncated ****
 remainder: random@test.example
-address match test: subject=random@test.example pattern=*@*
-test.example in "*"? yes (matched "*")
-random@test.example in "*@*"? yes (matched "*@*")
- search_open: lsearch "TESTSUITE/aux-fixed/0471.rw"
-   cached open
- search_find: file="TESTSUITE/aux-fixed/0471.rw"
-   key="test.example" partial=2 affix=*. starflags=0 opts=NULL
- LRU list:
-   0TESTSUITE/aux-fixed/0471.rw
-   End
- internal_search_find: file="TESTSUITE/aux-fixed/0471.rw"
-   type=lsearch key="test.example" opts=NULL
- cached data used for lookup of test.example
-   in TESTSUITE/aux-fixed/0471.rw
- lookup yielded: rwtest.example
+ random@test.example in "^.{40,}@*"?
+  list element: ^.{40,}@*
+  address match test: subject=random@test.example pattern=^.{40,}@*
+  compiled RE '^.{40,}@*' found in local cache
+ random@test.example in "^.{40,}@*"? no (end of list)
+ random@test.example in "*@*"?
+  list element: *@*
+  address match test: subject=random@test.example pattern=*@*
+  test.example in "*"?
+   list element: *
+   test.example in "*"? yes (matched "*")
+  random@test.example in "*@*"? yes (matched "*@*")
+  search_open: lsearch "TESTSUITE/aux-fixed/0471.rw"
+    cached open
+  search_find: file="TESTSUITE/aux-fixed/0471.rw"
+    key="test.example" partial=2 affix=*. starflags=0 opts=NULL
+  LRU list:
+    0TESTSUITE/aux-fixed/0471.rw
+    End
+  internal_search_find: file="TESTSUITE/aux-fixed/0471.rw"
+    type=lsearch key="test.example" opts=NULL
+  cached data used for lookup of test.example
+    in TESTSUITE/aux-fixed/0471.rw
+  lookup yielded: rwtest.example
 LOG: address_rewrite MAIN
-  "random@test.example" from to: rewritten as "random@rwtest.example" by rule 1
+  "random@test.example" from to: rewritten as "random@rwtest.example" by rule 2
 newlen=4373 newtype=T newtext:
 To: random@rwtest.example,
     random@rwtest.example,
@@ -25181,40 +26661,48 @@ To: random@rwtest.example,
     random@rwtest.example,
 **** debug string too long - truncated ****
 remainder: 
-rewrite_one_header: type=F:
-  From: CALLER_NAME <CALLER@myhost.test.ex>
-address match test: subject=CALLER@myhost.test.ex pattern=*@*
-myhost.test.ex in "*"? yes (matched "*")
-CALLER@myhost.test.ex in "*@*"? yes (matched "*@*")
- search_open: lsearch "TESTSUITE/aux-fixed/0471.rw"
-   cached open
- search_find: file="TESTSUITE/aux-fixed/0471.rw"
-   key="myhost.test.ex" partial=2 affix=*. starflags=0 opts=NULL
- LRU list:
-   0TESTSUITE/aux-fixed/0471.rw
-   End
- internal_search_find: file="TESTSUITE/aux-fixed/0471.rw"
-   type=lsearch key="myhost.test.ex" opts=NULL
- cached data used for lookup of myhost.test.ex
-   in TESTSUITE/aux-fixed/0471.rw
- lookup failed
- trying partial match *.myhost.test.ex
- internal_search_find: file="TESTSUITE/aux-fixed/0471.rw"
-   type=lsearch key="*.myhost.test.ex" opts=NULL
- cached data used for lookup of *.myhost.test.ex
-   in TESTSUITE/aux-fixed/0471.rw
- lookup failed
- trying partial match *.test.ex
- internal_search_find: file="TESTSUITE/aux-fixed/0471.rw"
-   type=lsearch key="*.test.ex" opts=NULL
- cached data used for lookup of *.test.ex
-   in TESTSUITE/aux-fixed/0471.rw
- lookup failed
+ rewrite_one_header: type=F:
+   From: CALLER_NAME <CALLER@myhost.test.ex>
+ CALLER@myhost.test.ex in "^.{40,}@*"?
+  list element: ^.{40,}@*
+  address match test: subject=CALLER@myhost.test.ex pattern=^.{40,}@*
+  compiled RE '^.{40,}@*' found in local cache
+ CALLER@myhost.test.ex in "^.{40,}@*"? no (end of list)
+ CALLER@myhost.test.ex in "*@*"?
+  list element: *@*
+  address match test: subject=CALLER@myhost.test.ex pattern=*@*
+  myhost.test.ex in "*"?
+   list element: *
+   myhost.test.ex in "*"? yes (matched "*")
+  CALLER@myhost.test.ex in "*@*"? yes (matched "*@*")
+  search_open: lsearch "TESTSUITE/aux-fixed/0471.rw"
+    cached open
+  search_find: file="TESTSUITE/aux-fixed/0471.rw"
+    key="myhost.test.ex" partial=2 affix=*. starflags=0 opts=NULL
+  LRU list:
+    0TESTSUITE/aux-fixed/0471.rw
+    End
+  internal_search_find: file="TESTSUITE/aux-fixed/0471.rw"
+    type=lsearch key="myhost.test.ex" opts=NULL
+  cached data used for lookup of myhost.test.ex
+    in TESTSUITE/aux-fixed/0471.rw
+  lookup failed
+  trying partial match *.myhost.test.ex
+  internal_search_find: file="TESTSUITE/aux-fixed/0471.rw"
+    type=lsearch key="*.myhost.test.ex" opts=NULL
+  cached data used for lookup of *.myhost.test.ex
+    in TESTSUITE/aux-fixed/0471.rw
+  lookup failed
+  trying partial match *.test.ex
+  internal_search_find: file="TESTSUITE/aux-fixed/0471.rw"
+    type=lsearch key="*.test.ex" opts=NULL
+  cached data used for lookup of *.test.ex
+    in TESTSUITE/aux-fixed/0471.rw
+  lookup failed
 search_tidyup called
 >>Headers after rewriting and local additions:
-* To: random@test.example,
-    random@test.example,
-    random@test.example,
+ * To: random@test.example,
+     random@test.example,
     random@test.example,
     random@test.example,
     random@test.example,
@@ -25292,8 +26780,11 @@ search_tidyup called
     random@test.example,
     random@test.example,
     random@test.example,
+    random@test.example
 **** debug string too long - truncated ****
-T To: random@rwtest.example,
+ T To: random@rwtest.example,
+     random@rwtest.example,
+     random@rwtest.example,
     random@rwtest.example,
     random@rwtest.example,
     random@rwtest.example,
@@ -25365,27 +26856,923 @@ T To: random@rwtest.example,
     random@rwtest.example,
     random@rwtest.example,
     random@rwtest.example,
-    random@rwtest.example,
-    random@rwtest.example,
 **** debug string too long - truncated ****
-I Message-Id: <E10HmaX-0005vi-00@myhost.test.ex>
-F From: CALLER_NAME <CALLER@myhost.test.ex>
-  Date: Tue, 2 Mar 1999 09:44:33 +0000
+ I Message-Id: <E10HmaX-000000005vi-0000@myhost.test.ex>
+ F From: CALLER_NAME <CALLER@myhost.test.ex>
+   Date: Tue, 2 Mar 1999 09:44:33 +0000
 
-Data file name: TESTSUITE/spool//input//10HmaX-0005vi-00-D
-Data file written for message 10HmaX-0005vi-00
+Data file name: TESTSUITE/spool//input//10HmaX-000000005vi-0000-D
+Data file written for message 10HmaX-000000005vi-0000
 >>Generated Received: header line
 P Received: from CALLER by myhost.test.ex with local (Exim x.yz)
        (envelope-from <CALLER@myhost.test.ex>)
-       id 10HmaX-0005vi-00
-       for r1@test.ex; Tue, 2 Mar 1999 09:44:33 +0000
-Writing spool header file: TESTSUITE/spool//input//hdr.10HmaX-0005vi-00
+       id 10HmaX-000000005vi-0000
+       for r1@test.ex;
+       Tue, 2 Mar 1999 09:44:33 +0000
+using ACL "check"
+processing "warn" (TESTSUITE/test-config 15)
+check !verify = header_syntax
+warn: condition test failed in ACL "check"
+processing "accept" (TESTSUITE/test-config 17)
+accept: condition test succeeded in ACL "check"
+end of ACL "check": ACCEPT
+Writing spool header file: TESTSUITE/spool//input//hdr.10HmaX-000000005vi-0000
 DSN: **** SPOOL_OUT - address: <r1@test.ex> errorsto: <NULL> orcpt: <NULL> dsn_flags: 0x0
-Renaming spool header file: TESTSUITE/spool//input//10HmaX-0005vi-00-H
+Renaming spool header file: TESTSUITE/spool//input//10HmaX-000000005vi-0000-H
 Size of headers = sss
 LOG: MAIN
   <= CALLER@myhost.test.ex U=CALLER P=local S=sss
 created log directory TESTSUITE/spool/log
 search_tidyup called
->>>>>>>>>>>>>>>> Exim pid=pppp (fresh-exec) terminating with rc=0 >>>>>>>>>>>>>>>>
+>>>>>>>>>>>>>>>> Exim pid=p1234 (fresh-exec) terminating with rc=0 >>>>>>>>>>>>>>>>
+Exim version x.yz ....
+changed uid/gid: forcing real = effective
+  uid=uuuu gid=CALLER_GID pid=p1235
+configuration file is TESTSUITE/test-config
+admin user
+changed uid/gid: privilege not needed
+  uid=EXIM_UID gid=EXIM_GID pid=p1235
+originator: uid=CALLER_UID gid=CALLER_GID login=CALLER name=CALLER_NAME
+sender address = CALLER@myhost.test.ex
+set_process_info: pppp accepting a local non-SMTP message from <CALLER@myhost.test.ex>
+spool directory space = nnnnnK inodes = nnnnn check_space = 10240K inodes = 100 msg_size = 0
+log directory space = nnnnnK inodes = nnnnn check_space = 10240K inodes = 100
+Sender: CALLER@myhost.test.ex
+Recipients:
+  r2@test.ex
+search_tidyup called
+>>Headers received:
+To: localpart_with_056_chars_56789012345678901234567890123456@test.example
+
+qualify & rewrite recipients list
+ r2@test.ex in "^.{40,}@*"?
+  list element: ^.{40,}@*
+  address match test: subject=r2@test.ex pattern=^.{40,}@*
+  compiled RE '^.{40,}@*' not found in local cache
+  compiled RE '^.{40,}@*' saved in local cache
+ r2@test.ex in "^.{40,}@*"? no (end of list)
+ r2@test.ex in "*@*"?
+  list element: *@*
+  address match test: subject=r2@test.ex pattern=*@*
+  test.ex in "*"?
+   list element: *
+   test.ex in "*"? yes (matched "*")
+  r2@test.ex in "*@*"? yes (matched "*@*")
+  search_open: lsearch "TESTSUITE/aux-fixed/0471.rw"
+  search_find: file="TESTSUITE/aux-fixed/0471.rw"
+    key="test.ex" partial=2 affix=*. starflags=0 opts=NULL
+  LRU list:
+    0TESTSUITE/aux-fixed/0471.rw
+    End
+  internal_search_find: file="TESTSUITE/aux-fixed/0471.rw"
+    type=lsearch key="test.ex" opts=NULL
+  file lookup required for test.ex
+    in TESTSUITE/aux-fixed/0471.rw
+  creating new cache entry
+  lookup failed
+  trying partial match *.test.ex
+  internal_search_find: file="TESTSUITE/aux-fixed/0471.rw"
+    type=lsearch key="*.test.ex" opts=NULL
+  file lookup required for *.test.ex
+    in TESTSUITE/aux-fixed/0471.rw
+  creating new cache entry
+  lookup failed
+rewrite rules on sender address
+ CALLER@myhost.test.ex in "^.{40,}@*"?
+  list element: ^.{40,}@*
+  address match test: subject=CALLER@myhost.test.ex pattern=^.{40,}@*
+  compiled RE '^.{40,}@*' found in local cache
+ CALLER@myhost.test.ex in "^.{40,}@*"? no (end of list)
+ CALLER@myhost.test.ex in "*@*"?
+  list element: *@*
+  address match test: subject=CALLER@myhost.test.ex pattern=*@*
+  myhost.test.ex in "*"?
+   list element: *
+   myhost.test.ex in "*"? yes (matched "*")
+  CALLER@myhost.test.ex in "*@*"? yes (matched "*@*")
+  search_open: lsearch "TESTSUITE/aux-fixed/0471.rw"
+    cached open
+  search_find: file="TESTSUITE/aux-fixed/0471.rw"
+    key="myhost.test.ex" partial=2 affix=*. starflags=0 opts=NULL
+  LRU list:
+    0TESTSUITE/aux-fixed/0471.rw
+    End
+  internal_search_find: file="TESTSUITE/aux-fixed/0471.rw"
+    type=lsearch key="myhost.test.ex" opts=NULL
+  file lookup required for myhost.test.ex
+    in TESTSUITE/aux-fixed/0471.rw
+  creating new cache entry
+  lookup failed
+  trying partial match *.myhost.test.ex
+  internal_search_find: file="TESTSUITE/aux-fixed/0471.rw"
+    type=lsearch key="*.myhost.test.ex" opts=NULL
+  file lookup required for *.myhost.test.ex
+    in TESTSUITE/aux-fixed/0471.rw
+  creating new cache entry
+  lookup failed
+  trying partial match *.test.ex
+  internal_search_find: file="TESTSUITE/aux-fixed/0471.rw"
+    type=lsearch key="*.test.ex" opts=NULL
+  cached data used for lookup of *.test.ex
+    in TESTSUITE/aux-fixed/0471.rw
+  lookup failed
+rewritten sender = CALLER@myhost.test.ex
+qualify and rewrite headers
+ rewrite_one_header: type=T:
+   To: localpart_with_056_chars_56789012345678901234567890123456@test.example
+ localpart_with_056_chars_56789012345678901234567890123456@test.example in "^.{40,}@*"?
+  list element: ^.{40,}@*
+  address match test: subject=localpart_with_056_chars_56789012345678901234567890123456@test.example pattern=^.{40,}@*
+  compiled RE '^.{40,}@*' found in local cache
+  localpart_with_056_chars_56789012345678901234567890123456@test.example in "^.{40,}@*"? yes (matched "^.{40,}@*")
+LOG: address_rewrite MAIN
+  "localpart_with_056_chars_56789012345678901234567890123456@test.example" from to: rewritten as "deny_me@test.example" by rule 1
+ deny_me@test.example in "*@*"?
+  list element: *@*
+  address match test: subject=deny_me@test.example pattern=*@*
+  test.example in "*"?
+   list element: *
+   test.example in "*"? yes (matched "*")
+  deny_me@test.example in "*@*"? yes (matched "*@*")
+  search_open: lsearch "TESTSUITE/aux-fixed/0471.rw"
+    cached open
+  search_find: file="TESTSUITE/aux-fixed/0471.rw"
+    key="test.example" partial=2 affix=*. starflags=0 opts=NULL
+  LRU list:
+    0TESTSUITE/aux-fixed/0471.rw
+    End
+  internal_search_find: file="TESTSUITE/aux-fixed/0471.rw"
+    type=lsearch key="test.example" opts=NULL
+  file lookup required for test.example
+    in TESTSUITE/aux-fixed/0471.rw
+  creating new cache entry
+  lookup yielded: rwtest.example
+LOG: address_rewrite MAIN
+  "deny_me@test.example" from to: rewritten as "deny_me@rwtest.example" by rule 2
+newlen=27 newtype=T newtext:
+To: deny_me@rwtest.example
+remainder: 
+ rewrite_one_header: type=F:
+   From: CALLER_NAME <CALLER@myhost.test.ex>
+ CALLER@myhost.test.ex in "^.{40,}@*"?
+  list element: ^.{40,}@*
+  address match test: subject=CALLER@myhost.test.ex pattern=^.{40,}@*
+  compiled RE '^.{40,}@*' found in local cache
+ CALLER@myhost.test.ex in "^.{40,}@*"? no (end of list)
+ CALLER@myhost.test.ex in "*@*"?
+  list element: *@*
+  address match test: subject=CALLER@myhost.test.ex pattern=*@*
+  myhost.test.ex in "*"?
+   list element: *
+   myhost.test.ex in "*"? yes (matched "*")
+  CALLER@myhost.test.ex in "*@*"? yes (matched "*@*")
+  search_open: lsearch "TESTSUITE/aux-fixed/0471.rw"
+    cached open
+  search_find: file="TESTSUITE/aux-fixed/0471.rw"
+    key="myhost.test.ex" partial=2 affix=*. starflags=0 opts=NULL
+  LRU list:
+    0TESTSUITE/aux-fixed/0471.rw
+    End
+  internal_search_find: file="TESTSUITE/aux-fixed/0471.rw"
+    type=lsearch key="myhost.test.ex" opts=NULL
+  cached data used for lookup of myhost.test.ex
+    in TESTSUITE/aux-fixed/0471.rw
+  lookup failed
+  trying partial match *.myhost.test.ex
+  internal_search_find: file="TESTSUITE/aux-fixed/0471.rw"
+    type=lsearch key="*.myhost.test.ex" opts=NULL
+  cached data used for lookup of *.myhost.test.ex
+    in TESTSUITE/aux-fixed/0471.rw
+  lookup failed
+  trying partial match *.test.ex
+  internal_search_find: file="TESTSUITE/aux-fixed/0471.rw"
+    type=lsearch key="*.test.ex" opts=NULL
+  cached data used for lookup of *.test.ex
+    in TESTSUITE/aux-fixed/0471.rw
+  lookup failed
+search_tidyup called
+>>Headers after rewriting and local additions:
+ * To: localpart_with_056_chars_56789012345678901234567890123456@test.example
+ T To: deny_me@rwtest.example
+ I Message-Id: <E10HmaY-000000005vi-0000@myhost.test.ex>
+ F From: CALLER_NAME <CALLER@myhost.test.ex>
+   Date: Tue, 2 Mar 1999 09:44:33 +0000
+
+Data file name: TESTSUITE/spool//input//10HmaY-000000005vi-0000-D
+Data file written for message 10HmaY-000000005vi-0000
+>>Generated Received: header line
+P Received: from CALLER by myhost.test.ex with local (Exim x.yz)
+       (envelope-from <CALLER@myhost.test.ex>)
+       id 10HmaY-000000005vi-0000
+       for r2@test.ex;
+       Tue, 2 Mar 1999 09:44:33 +0000
+using ACL "check"
+processing "warn" (TESTSUITE/test-config 15)
+check !verify = header_syntax
+warn: condition test failed in ACL "check"
+processing "accept" (TESTSUITE/test-config 17)
+accept: condition test succeeded in ACL "check"
+end of ACL "check": ACCEPT
+Writing spool header file: TESTSUITE/spool//input//hdr.10HmaY-000000005vi-0000
+DSN: **** SPOOL_OUT - address: <r2@test.ex> errorsto: <NULL> orcpt: <NULL> dsn_flags: 0x0
+Renaming spool header file: TESTSUITE/spool//input//10HmaY-000000005vi-0000-H
+Size of headers = sss
+LOG: MAIN
+  <= CALLER@myhost.test.ex U=CALLER P=local S=sss
+search_tidyup called
+>>>>>>>>>>>>>>>> Exim pid=p1235 (fresh-exec) terminating with rc=0 >>>>>>>>>>>>>>>>
+Exim version x.yz ....
+changed uid/gid: forcing real = effective
+  uid=uuuu gid=CALLER_GID pid=p1236
+configuration file is TESTSUITE/test-config
+admin user
+changed uid/gid: privilege not needed
+  uid=EXIM_UID gid=EXIM_GID pid=p1236
+originator: uid=CALLER_UID gid=CALLER_GID login=CALLER name=CALLER_NAME
+sender address = CALLER@myhost.test.ex
+set_process_info: pppp accepting a local non-SMTP message from <CALLER@myhost.test.ex>
+spool directory space = nnnnnK inodes = nnnnn check_space = 10240K inodes = 100 msg_size = 0
+log directory space = nnnnnK inodes = nnnnn check_space = 10240K inodes = 100
+Sender: CALLER@myhost.test.ex
+Recipients:
+  r3@test.ex
+search_tidyup called
+>>Headers received:
+To: localpart_with_236_chars_56789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456@test.example
+
+qualify & rewrite recipients list
+ r3@test.ex in "^.{40,}@*"?
+  list element: ^.{40,}@*
+  address match test: subject=r3@test.ex pattern=^.{40,}@*
+  compiled RE '^.{40,}@*' not found in local cache
+  compiled RE '^.{40,}@*' saved in local cache
+ r3@test.ex in "^.{40,}@*"? no (end of list)
+ r3@test.ex in "*@*"?
+  list element: *@*
+  address match test: subject=r3@test.ex pattern=*@*
+  test.ex in "*"?
+   list element: *
+   test.ex in "*"? yes (matched "*")
+  r3@test.ex in "*@*"? yes (matched "*@*")
+  search_open: lsearch "TESTSUITE/aux-fixed/0471.rw"
+  search_find: file="TESTSUITE/aux-fixed/0471.rw"
+    key="test.ex" partial=2 affix=*. starflags=0 opts=NULL
+  LRU list:
+    0TESTSUITE/aux-fixed/0471.rw
+    End
+  internal_search_find: file="TESTSUITE/aux-fixed/0471.rw"
+    type=lsearch key="test.ex" opts=NULL
+  file lookup required for test.ex
+    in TESTSUITE/aux-fixed/0471.rw
+  creating new cache entry
+  lookup failed
+  trying partial match *.test.ex
+  internal_search_find: file="TESTSUITE/aux-fixed/0471.rw"
+    type=lsearch key="*.test.ex" opts=NULL
+  file lookup required for *.test.ex
+    in TESTSUITE/aux-fixed/0471.rw
+  creating new cache entry
+  lookup failed
+rewrite rules on sender address
+ CALLER@myhost.test.ex in "^.{40,}@*"?
+  list element: ^.{40,}@*
+  address match test: subject=CALLER@myhost.test.ex pattern=^.{40,}@*
+  compiled RE '^.{40,}@*' found in local cache
+ CALLER@myhost.test.ex in "^.{40,}@*"? no (end of list)
+ CALLER@myhost.test.ex in "*@*"?
+  list element: *@*
+  address match test: subject=CALLER@myhost.test.ex pattern=*@*
+  myhost.test.ex in "*"?
+   list element: *
+   myhost.test.ex in "*"? yes (matched "*")
+  CALLER@myhost.test.ex in "*@*"? yes (matched "*@*")
+  search_open: lsearch "TESTSUITE/aux-fixed/0471.rw"
+    cached open
+  search_find: file="TESTSUITE/aux-fixed/0471.rw"
+    key="myhost.test.ex" partial=2 affix=*. starflags=0 opts=NULL
+  LRU list:
+    0TESTSUITE/aux-fixed/0471.rw
+    End
+  internal_search_find: file="TESTSUITE/aux-fixed/0471.rw"
+    type=lsearch key="myhost.test.ex" opts=NULL
+  file lookup required for myhost.test.ex
+    in TESTSUITE/aux-fixed/0471.rw
+  creating new cache entry
+  lookup failed
+  trying partial match *.myhost.test.ex
+  internal_search_find: file="TESTSUITE/aux-fixed/0471.rw"
+    type=lsearch key="*.myhost.test.ex" opts=NULL
+  file lookup required for *.myhost.test.ex
+    in TESTSUITE/aux-fixed/0471.rw
+  creating new cache entry
+  lookup failed
+  trying partial match *.test.ex
+  internal_search_find: file="TESTSUITE/aux-fixed/0471.rw"
+    type=lsearch key="*.test.ex" opts=NULL
+  cached data used for lookup of *.test.ex
+    in TESTSUITE/aux-fixed/0471.rw
+  lookup failed
+rewritten sender = CALLER@myhost.test.ex
+qualify and rewrite headers
+ rewrite_one_header: type=T:
+   To: localpart_with_236_chars_56789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456@test.example
+ localpart_with_236_chars_56789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456@test.example in "^.{40,}@*"?
+  list element: ^.{40,}@*
+  address match test: subject=localpart_with_236_chars_56789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456@test.example pattern=^.{40,}@*
+  compiled RE '^.{40,}@*' found in local cache
+  localpart_with_236_chars_56789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456@test.example in "^.{40,}@*"? yes (matched "^.{40,}@*")
+LOG: address_rewrite MAIN
+  "localpart_with_236_chars_56789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456@test.example" from to: rewritten as "deny_me@test.example" by rule 1
+ deny_me@test.example in "*@*"?
+  list element: *@*
+  address match test: subject=deny_me@test.example pattern=*@*
+  test.example in "*"?
+   list element: *
+   test.example in "*"? yes (matched "*")
+  deny_me@test.example in "*@*"? yes (matched "*@*")
+  search_open: lsearch "TESTSUITE/aux-fixed/0471.rw"
+    cached open
+  search_find: file="TESTSUITE/aux-fixed/0471.rw"
+    key="test.example" partial=2 affix=*. starflags=0 opts=NULL
+  LRU list:
+    0TESTSUITE/aux-fixed/0471.rw
+    End
+  internal_search_find: file="TESTSUITE/aux-fixed/0471.rw"
+    type=lsearch key="test.example" opts=NULL
+  file lookup required for test.example
+    in TESTSUITE/aux-fixed/0471.rw
+  creating new cache entry
+  lookup yielded: rwtest.example
+LOG: address_rewrite MAIN
+  "deny_me@test.example" from to: rewritten as "deny_me@rwtest.example" by rule 2
+newlen=27 newtype=T newtext:
+To: deny_me@rwtest.example
+remainder: 
+ rewrite_one_header: type=F:
+   From: CALLER_NAME <CALLER@myhost.test.ex>
+ CALLER@myhost.test.ex in "^.{40,}@*"?
+  list element: ^.{40,}@*
+  address match test: subject=CALLER@myhost.test.ex pattern=^.{40,}@*
+  compiled RE '^.{40,}@*' found in local cache
+ CALLER@myhost.test.ex in "^.{40,}@*"? no (end of list)
+ CALLER@myhost.test.ex in "*@*"?
+  list element: *@*
+  address match test: subject=CALLER@myhost.test.ex pattern=*@*
+  myhost.test.ex in "*"?
+   list element: *
+   myhost.test.ex in "*"? yes (matched "*")
+  CALLER@myhost.test.ex in "*@*"? yes (matched "*@*")
+  search_open: lsearch "TESTSUITE/aux-fixed/0471.rw"
+    cached open
+  search_find: file="TESTSUITE/aux-fixed/0471.rw"
+    key="myhost.test.ex" partial=2 affix=*. starflags=0 opts=NULL
+  LRU list:
+    0TESTSUITE/aux-fixed/0471.rw
+    End
+  internal_search_find: file="TESTSUITE/aux-fixed/0471.rw"
+    type=lsearch key="myhost.test.ex" opts=NULL
+  cached data used for lookup of myhost.test.ex
+    in TESTSUITE/aux-fixed/0471.rw
+  lookup failed
+  trying partial match *.myhost.test.ex
+  internal_search_find: file="TESTSUITE/aux-fixed/0471.rw"
+    type=lsearch key="*.myhost.test.ex" opts=NULL
+  cached data used for lookup of *.myhost.test.ex
+    in TESTSUITE/aux-fixed/0471.rw
+  lookup failed
+  trying partial match *.test.ex
+  internal_search_find: file="TESTSUITE/aux-fixed/0471.rw"
+    type=lsearch key="*.test.ex" opts=NULL
+  cached data used for lookup of *.test.ex
+    in TESTSUITE/aux-fixed/0471.rw
+  lookup failed
+search_tidyup called
+>>Headers after rewriting and local additions:
+ * To: localpart_with_236_chars_56789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456@test.example
+ T To: deny_me@rwtest.example
+ I Message-Id: <E10HmaZ-000000005vi-0000@myhost.test.ex>
+ F From: CALLER_NAME <CALLER@myhost.test.ex>
+   Date: Tue, 2 Mar 1999 09:44:33 +0000
+
+Data file name: TESTSUITE/spool//input//10HmaZ-000000005vi-0000-D
+Data file written for message 10HmaZ-000000005vi-0000
+>>Generated Received: header line
+P Received: from CALLER by myhost.test.ex with local (Exim x.yz)
+       (envelope-from <CALLER@myhost.test.ex>)
+       id 10HmaZ-000000005vi-0000
+       for r3@test.ex;
+       Tue, 2 Mar 1999 09:44:33 +0000
+using ACL "check"
+processing "warn" (TESTSUITE/test-config 15)
+check !verify = header_syntax
+warn: condition test failed in ACL "check"
+processing "accept" (TESTSUITE/test-config 17)
+accept: condition test succeeded in ACL "check"
+end of ACL "check": ACCEPT
+Writing spool header file: TESTSUITE/spool//input//hdr.10HmaZ-000000005vi-0000
+DSN: **** SPOOL_OUT - address: <r3@test.ex> errorsto: <NULL> orcpt: <NULL> dsn_flags: 0x0
+Renaming spool header file: TESTSUITE/spool//input//10HmaZ-000000005vi-0000-H
+Size of headers = sss
+LOG: MAIN
+  <= CALLER@myhost.test.ex U=CALLER P=local S=sss
+search_tidyup called
+>>>>>>>>>>>>>>>> Exim pid=p1236 (fresh-exec) terminating with rc=0 >>>>>>>>>>>>>>>>
+Exim version x.yz ....
+changed uid/gid: forcing real = effective
+  uid=uuuu gid=CALLER_GID pid=p1237
+configuration file is TESTSUITE/test-config
+admin user
+changed uid/gid: privilege not needed
+  uid=EXIM_UID gid=EXIM_GID pid=p1237
+originator: uid=CALLER_UID gid=CALLER_GID login=CALLER name=CALLER_NAME
+sender address = CALLER@myhost.test.ex
+set_process_info: pppp accepting a local non-SMTP message from <CALLER@myhost.test.ex>
+spool directory space = nnnnnK inodes = nnnnn check_space = 10240K inodes = 100 msg_size = 0
+log directory space = nnnnnK inodes = nnnnn check_space = 10240K inodes = 100
+Sender: CALLER@myhost.test.ex
+Recipients:
+  r4@test.ex
+search_tidyup called
+>>Headers received:
+To: localpart_with_256_chars_5678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456@test.example
+
+qualify & rewrite recipients list
+ r4@test.ex in "^.{40,}@*"?
+  list element: ^.{40,}@*
+  address match test: subject=r4@test.ex pattern=^.{40,}@*
+  compiled RE '^.{40,}@*' not found in local cache
+  compiled RE '^.{40,}@*' saved in local cache
+ r4@test.ex in "^.{40,}@*"? no (end of list)
+ r4@test.ex in "*@*"?
+  list element: *@*
+  address match test: subject=r4@test.ex pattern=*@*
+  test.ex in "*"?
+   list element: *
+   test.ex in "*"? yes (matched "*")
+  r4@test.ex in "*@*"? yes (matched "*@*")
+  search_open: lsearch "TESTSUITE/aux-fixed/0471.rw"
+  search_find: file="TESTSUITE/aux-fixed/0471.rw"
+    key="test.ex" partial=2 affix=*. starflags=0 opts=NULL
+  LRU list:
+    0TESTSUITE/aux-fixed/0471.rw
+    End
+  internal_search_find: file="TESTSUITE/aux-fixed/0471.rw"
+    type=lsearch key="test.ex" opts=NULL
+  file lookup required for test.ex
+    in TESTSUITE/aux-fixed/0471.rw
+  creating new cache entry
+  lookup failed
+  trying partial match *.test.ex
+  internal_search_find: file="TESTSUITE/aux-fixed/0471.rw"
+    type=lsearch key="*.test.ex" opts=NULL
+  file lookup required for *.test.ex
+    in TESTSUITE/aux-fixed/0471.rw
+  creating new cache entry
+  lookup failed
+rewrite rules on sender address
+ CALLER@myhost.test.ex in "^.{40,}@*"?
+  list element: ^.{40,}@*
+  address match test: subject=CALLER@myhost.test.ex pattern=^.{40,}@*
+  compiled RE '^.{40,}@*' found in local cache
+ CALLER@myhost.test.ex in "^.{40,}@*"? no (end of list)
+ CALLER@myhost.test.ex in "*@*"?
+  list element: *@*
+  address match test: subject=CALLER@myhost.test.ex pattern=*@*
+  myhost.test.ex in "*"?
+   list element: *
+   myhost.test.ex in "*"? yes (matched "*")
+  CALLER@myhost.test.ex in "*@*"? yes (matched "*@*")
+  search_open: lsearch "TESTSUITE/aux-fixed/0471.rw"
+    cached open
+  search_find: file="TESTSUITE/aux-fixed/0471.rw"
+    key="myhost.test.ex" partial=2 affix=*. starflags=0 opts=NULL
+  LRU list:
+    0TESTSUITE/aux-fixed/0471.rw
+    End
+  internal_search_find: file="TESTSUITE/aux-fixed/0471.rw"
+    type=lsearch key="myhost.test.ex" opts=NULL
+  file lookup required for myhost.test.ex
+    in TESTSUITE/aux-fixed/0471.rw
+  creating new cache entry
+  lookup failed
+  trying partial match *.myhost.test.ex
+  internal_search_find: file="TESTSUITE/aux-fixed/0471.rw"
+    type=lsearch key="*.myhost.test.ex" opts=NULL
+  file lookup required for *.myhost.test.ex
+    in TESTSUITE/aux-fixed/0471.rw
+  creating new cache entry
+  lookup failed
+  trying partial match *.test.ex
+  internal_search_find: file="TESTSUITE/aux-fixed/0471.rw"
+    type=lsearch key="*.test.ex" opts=NULL
+  cached data used for lookup of *.test.ex
+    in TESTSUITE/aux-fixed/0471.rw
+  lookup failed
+rewritten sender = CALLER@myhost.test.ex
+qualify and rewrite headers
+ rewrite_one_header: type=T:
+   To: localpart_with_256_chars_5678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456@test.example
+LOG: MAIN
+  qualify/rewrite: address is ridiculously long: localpart_with_256_chars_567890123456789012345678901234567890123...
+ rewrite_one_header: type=F:
+   From: CALLER_NAME <CALLER@myhost.test.ex>
+ CALLER@myhost.test.ex in "^.{40,}@*"?
+  list element: ^.{40,}@*
+  address match test: subject=CALLER@myhost.test.ex pattern=^.{40,}@*
+  compiled RE '^.{40,}@*' found in local cache
+ CALLER@myhost.test.ex in "^.{40,}@*"? no (end of list)
+ CALLER@myhost.test.ex in "*@*"?
+  list element: *@*
+  address match test: subject=CALLER@myhost.test.ex pattern=*@*
+  myhost.test.ex in "*"?
+   list element: *
+   myhost.test.ex in "*"? yes (matched "*")
+  CALLER@myhost.test.ex in "*@*"? yes (matched "*@*")
+  search_open: lsearch "TESTSUITE/aux-fixed/0471.rw"
+    cached open
+  search_find: file="TESTSUITE/aux-fixed/0471.rw"
+    key="myhost.test.ex" partial=2 affix=*. starflags=0 opts=NULL
+  LRU list:
+    0TESTSUITE/aux-fixed/0471.rw
+    End
+  internal_search_find: file="TESTSUITE/aux-fixed/0471.rw"
+    type=lsearch key="myhost.test.ex" opts=NULL
+  cached data used for lookup of myhost.test.ex
+    in TESTSUITE/aux-fixed/0471.rw
+  lookup failed
+  trying partial match *.myhost.test.ex
+  internal_search_find: file="TESTSUITE/aux-fixed/0471.rw"
+    type=lsearch key="*.myhost.test.ex" opts=NULL
+  cached data used for lookup of *.myhost.test.ex
+    in TESTSUITE/aux-fixed/0471.rw
+  lookup failed
+  trying partial match *.test.ex
+  internal_search_find: file="TESTSUITE/aux-fixed/0471.rw"
+    type=lsearch key="*.test.ex" opts=NULL
+  cached data used for lookup of *.test.ex
+    in TESTSUITE/aux-fixed/0471.rw
+  lookup failed
+search_tidyup called
+>>Headers after rewriting and local additions:
+ T To: localpart_with_256_chars_5678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456@test.example
+ I Message-Id: <E10HmbA-000000005vi-0000@myhost.test.ex>
+ F From: CALLER_NAME <CALLER@myhost.test.ex>
+   Date: Tue, 2 Mar 1999 09:44:33 +0000
+
+Data file name: TESTSUITE/spool//input//10HmbA-000000005vi-0000-D
+Data file written for message 10HmbA-000000005vi-0000
+>>Generated Received: header line
+P Received: from CALLER by myhost.test.ex with local (Exim x.yz)
+       (envelope-from <CALLER@myhost.test.ex>)
+       id 10HmbA-000000005vi-0000
+       for r4@test.ex;
+       Tue, 2 Mar 1999 09:44:33 +0000
+using ACL "check"
+processing "warn" (TESTSUITE/test-config 15)
+check !verify = header_syntax
+check logwrite = verify header_syntax fails
+LOG: MAIN
+  verify header_syntax fails
+warn: condition test succeeded in ACL "check"
+processing "accept" (TESTSUITE/test-config 17)
+accept: condition test succeeded in ACL "check"
+end of ACL "check": ACCEPT
+Writing spool header file: TESTSUITE/spool//input//hdr.10HmbA-000000005vi-0000
+DSN: **** SPOOL_OUT - address: <r4@test.ex> errorsto: <NULL> orcpt: <NULL> dsn_flags: 0x0
+Renaming spool header file: TESTSUITE/spool//input//10HmbA-000000005vi-0000-H
+Size of headers = sss
+LOG: MAIN
+  <= CALLER@myhost.test.ex U=CALLER P=local S=sss
+search_tidyup called
+>>>>>>>>>>>>>>>> Exim pid=p1237 (fresh-exec) terminating with rc=0 >>>>>>>>>>>>>>>>
+Exim version x.yz ....
+changed uid/gid: forcing real = effective
+  uid=uuuu gid=CALLER_GID pid=p1238
+configuration file is TESTSUITE/test-config
+admin user
+changed uid/gid: privilege not needed
+  uid=EXIM_UID gid=EXIM_GID pid=p1238
+originator: uid=CALLER_UID gid=CALLER_GID login=CALLER name=CALLER_NAME
+sender address = CALLER@myhost.test.ex
+set_process_info: pppp accepting a local non-SMTP message from <CALLER@myhost.test.ex>
+spool directory space = nnnnnK inodes = nnnnn check_space = 10240K inodes = 100 msg_size = 0
+log directory space = nnnnnK inodes = nnnnn check_space = 10240K inodes = 100
+Sender: CALLER@myhost.test.ex
+Recipients:
+  r5@test.ex
+search_tidyup called
+>>Headers received:
+To: undisclosed recpients:;
+
+qualify & rewrite recipients list
+ r5@test.ex in "^.{40,}@*"?
+  list element: ^.{40,}@*
+  address match test: subject=r5@test.ex pattern=^.{40,}@*
+  compiled RE '^.{40,}@*' not found in local cache
+  compiled RE '^.{40,}@*' saved in local cache
+ r5@test.ex in "^.{40,}@*"? no (end of list)
+ r5@test.ex in "*@*"?
+  list element: *@*
+  address match test: subject=r5@test.ex pattern=*@*
+  test.ex in "*"?
+   list element: *
+   test.ex in "*"? yes (matched "*")
+  r5@test.ex in "*@*"? yes (matched "*@*")
+  search_open: lsearch "TESTSUITE/aux-fixed/0471.rw"
+  search_find: file="TESTSUITE/aux-fixed/0471.rw"
+    key="test.ex" partial=2 affix=*. starflags=0 opts=NULL
+  LRU list:
+    0TESTSUITE/aux-fixed/0471.rw
+    End
+  internal_search_find: file="TESTSUITE/aux-fixed/0471.rw"
+    type=lsearch key="test.ex" opts=NULL
+  file lookup required for test.ex
+    in TESTSUITE/aux-fixed/0471.rw
+  creating new cache entry
+  lookup failed
+  trying partial match *.test.ex
+  internal_search_find: file="TESTSUITE/aux-fixed/0471.rw"
+    type=lsearch key="*.test.ex" opts=NULL
+  file lookup required for *.test.ex
+    in TESTSUITE/aux-fixed/0471.rw
+  creating new cache entry
+  lookup failed
+rewrite rules on sender address
+ CALLER@myhost.test.ex in "^.{40,}@*"?
+  list element: ^.{40,}@*
+  address match test: subject=CALLER@myhost.test.ex pattern=^.{40,}@*
+  compiled RE '^.{40,}@*' found in local cache
+ CALLER@myhost.test.ex in "^.{40,}@*"? no (end of list)
+ CALLER@myhost.test.ex in "*@*"?
+  list element: *@*
+  address match test: subject=CALLER@myhost.test.ex pattern=*@*
+  myhost.test.ex in "*"?
+   list element: *
+   myhost.test.ex in "*"? yes (matched "*")
+  CALLER@myhost.test.ex in "*@*"? yes (matched "*@*")
+  search_open: lsearch "TESTSUITE/aux-fixed/0471.rw"
+    cached open
+  search_find: file="TESTSUITE/aux-fixed/0471.rw"
+    key="myhost.test.ex" partial=2 affix=*. starflags=0 opts=NULL
+  LRU list:
+    0TESTSUITE/aux-fixed/0471.rw
+    End
+  internal_search_find: file="TESTSUITE/aux-fixed/0471.rw"
+    type=lsearch key="myhost.test.ex" opts=NULL
+  file lookup required for myhost.test.ex
+    in TESTSUITE/aux-fixed/0471.rw
+  creating new cache entry
+  lookup failed
+  trying partial match *.myhost.test.ex
+  internal_search_find: file="TESTSUITE/aux-fixed/0471.rw"
+    type=lsearch key="*.myhost.test.ex" opts=NULL
+  file lookup required for *.myhost.test.ex
+    in TESTSUITE/aux-fixed/0471.rw
+  creating new cache entry
+  lookup failed
+  trying partial match *.test.ex
+  internal_search_find: file="TESTSUITE/aux-fixed/0471.rw"
+    type=lsearch key="*.test.ex" opts=NULL
+  cached data used for lookup of *.test.ex
+    in TESTSUITE/aux-fixed/0471.rw
+  lookup failed
+rewritten sender = CALLER@myhost.test.ex
+qualify and rewrite headers
+ rewrite_one_header: type=T:
+   To: undisclosed recpients:;
+ rewrite_one_header: type=F:
+   From: CALLER_NAME <CALLER@myhost.test.ex>
+ CALLER@myhost.test.ex in "^.{40,}@*"?
+  list element: ^.{40,}@*
+  address match test: subject=CALLER@myhost.test.ex pattern=^.{40,}@*
+  compiled RE '^.{40,}@*' found in local cache
+ CALLER@myhost.test.ex in "^.{40,}@*"? no (end of list)
+ CALLER@myhost.test.ex in "*@*"?
+  list element: *@*
+  address match test: subject=CALLER@myhost.test.ex pattern=*@*
+  myhost.test.ex in "*"?
+   list element: *
+   myhost.test.ex in "*"? yes (matched "*")
+  CALLER@myhost.test.ex in "*@*"? yes (matched "*@*")
+  search_open: lsearch "TESTSUITE/aux-fixed/0471.rw"
+    cached open
+  search_find: file="TESTSUITE/aux-fixed/0471.rw"
+    key="myhost.test.ex" partial=2 affix=*. starflags=0 opts=NULL
+  LRU list:
+    0TESTSUITE/aux-fixed/0471.rw
+    End
+  internal_search_find: file="TESTSUITE/aux-fixed/0471.rw"
+    type=lsearch key="myhost.test.ex" opts=NULL
+  cached data used for lookup of myhost.test.ex
+    in TESTSUITE/aux-fixed/0471.rw
+  lookup failed
+  trying partial match *.myhost.test.ex
+  internal_search_find: file="TESTSUITE/aux-fixed/0471.rw"
+    type=lsearch key="*.myhost.test.ex" opts=NULL
+  cached data used for lookup of *.myhost.test.ex
+    in TESTSUITE/aux-fixed/0471.rw
+  lookup failed
+  trying partial match *.test.ex
+  internal_search_find: file="TESTSUITE/aux-fixed/0471.rw"
+    type=lsearch key="*.test.ex" opts=NULL
+  cached data used for lookup of *.test.ex
+    in TESTSUITE/aux-fixed/0471.rw
+  lookup failed
+search_tidyup called
+>>Headers after rewriting and local additions:
+ T To: undisclosed recpients:;
+ I Message-Id: <E10HmbB-000000005vi-0000@myhost.test.ex>
+ F From: CALLER_NAME <CALLER@myhost.test.ex>
+   Date: Tue, 2 Mar 1999 09:44:33 +0000
+
+Data file name: TESTSUITE/spool//input//10HmbB-000000005vi-0000-D
+Data file written for message 10HmbB-000000005vi-0000
+>>Generated Received: header line
+P Received: from CALLER by myhost.test.ex with local (Exim x.yz)
+       (envelope-from <CALLER@myhost.test.ex>)
+       id 10HmbB-000000005vi-0000
+       for r5@test.ex;
+       Tue, 2 Mar 1999 09:44:33 +0000
+using ACL "check"
+processing "warn" (TESTSUITE/test-config 15)
+check !verify = header_syntax
+warn: condition test failed in ACL "check"
+processing "accept" (TESTSUITE/test-config 17)
+accept: condition test succeeded in ACL "check"
+end of ACL "check": ACCEPT
+Writing spool header file: TESTSUITE/spool//input//hdr.10HmbB-000000005vi-0000
+DSN: **** SPOOL_OUT - address: <r5@test.ex> errorsto: <NULL> orcpt: <NULL> dsn_flags: 0x0
+Renaming spool header file: TESTSUITE/spool//input//10HmbB-000000005vi-0000-H
+Size of headers = sss
+LOG: MAIN
+  <= CALLER@myhost.test.ex U=CALLER P=local S=sss
+search_tidyup called
+>>>>>>>>>>>>>>>> Exim pid=p1238 (fresh-exec) terminating with rc=0 >>>>>>>>>>>>>>>>
+Exim version x.yz ....
+changed uid/gid: forcing real = effective
+  uid=uuuu gid=CALLER_GID pid=p1239
+configuration file is TESTSUITE/test-config
+admin user
+changed uid/gid: privilege not needed
+  uid=EXIM_UID gid=EXIM_GID pid=p1239
+originator: uid=CALLER_UID gid=CALLER_GID login=CALLER name=CALLER_NAME
+sender address = CALLER@myhost.test.ex
+set_process_info: pppp accepting a local non-SMTP message from <CALLER@myhost.test.ex>
+spool directory space = nnnnnK inodes = nnnnn check_space = 10240K inodes = 100 msg_size = 0
+log directory space = nnnnnK inodes = nnnnn check_space = 10240K inodes = 100
+Sender: CALLER@myhost.test.ex
+Recipients:
+  r6@test.ex
+search_tidyup called
+>>Headers received:
+To: fred@
+
+qualify & rewrite recipients list
+ r6@test.ex in "^.{40,}@*"?
+  list element: ^.{40,}@*
+  address match test: subject=r6@test.ex pattern=^.{40,}@*
+  compiled RE '^.{40,}@*' not found in local cache
+  compiled RE '^.{40,}@*' saved in local cache
+ r6@test.ex in "^.{40,}@*"? no (end of list)
+ r6@test.ex in "*@*"?
+  list element: *@*
+  address match test: subject=r6@test.ex pattern=*@*
+  test.ex in "*"?
+   list element: *
+   test.ex in "*"? yes (matched "*")
+  r6@test.ex in "*@*"? yes (matched "*@*")
+  search_open: lsearch "TESTSUITE/aux-fixed/0471.rw"
+  search_find: file="TESTSUITE/aux-fixed/0471.rw"
+    key="test.ex" partial=2 affix=*. starflags=0 opts=NULL
+  LRU list:
+    0TESTSUITE/aux-fixed/0471.rw
+    End
+  internal_search_find: file="TESTSUITE/aux-fixed/0471.rw"
+    type=lsearch key="test.ex" opts=NULL
+  file lookup required for test.ex
+    in TESTSUITE/aux-fixed/0471.rw
+  creating new cache entry
+  lookup failed
+  trying partial match *.test.ex
+  internal_search_find: file="TESTSUITE/aux-fixed/0471.rw"
+    type=lsearch key="*.test.ex" opts=NULL
+  file lookup required for *.test.ex
+    in TESTSUITE/aux-fixed/0471.rw
+  creating new cache entry
+  lookup failed
+rewrite rules on sender address
+ CALLER@myhost.test.ex in "^.{40,}@*"?
+  list element: ^.{40,}@*
+  address match test: subject=CALLER@myhost.test.ex pattern=^.{40,}@*
+  compiled RE '^.{40,}@*' found in local cache
+ CALLER@myhost.test.ex in "^.{40,}@*"? no (end of list)
+ CALLER@myhost.test.ex in "*@*"?
+  list element: *@*
+  address match test: subject=CALLER@myhost.test.ex pattern=*@*
+  myhost.test.ex in "*"?
+   list element: *
+   myhost.test.ex in "*"? yes (matched "*")
+  CALLER@myhost.test.ex in "*@*"? yes (matched "*@*")
+  search_open: lsearch "TESTSUITE/aux-fixed/0471.rw"
+    cached open
+  search_find: file="TESTSUITE/aux-fixed/0471.rw"
+    key="myhost.test.ex" partial=2 affix=*. starflags=0 opts=NULL
+  LRU list:
+    0TESTSUITE/aux-fixed/0471.rw
+    End
+  internal_search_find: file="TESTSUITE/aux-fixed/0471.rw"
+    type=lsearch key="myhost.test.ex" opts=NULL
+  file lookup required for myhost.test.ex
+    in TESTSUITE/aux-fixed/0471.rw
+  creating new cache entry
+  lookup failed
+  trying partial match *.myhost.test.ex
+  internal_search_find: file="TESTSUITE/aux-fixed/0471.rw"
+    type=lsearch key="*.myhost.test.ex" opts=NULL
+  file lookup required for *.myhost.test.ex
+    in TESTSUITE/aux-fixed/0471.rw
+  creating new cache entry
+  lookup failed
+  trying partial match *.test.ex
+  internal_search_find: file="TESTSUITE/aux-fixed/0471.rw"
+    type=lsearch key="*.test.ex" opts=NULL
+  cached data used for lookup of *.test.ex
+    in TESTSUITE/aux-fixed/0471.rw
+  lookup failed
+rewritten sender = CALLER@myhost.test.ex
+qualify and rewrite headers
+ rewrite_one_header: type=T:
+   To: fred@
+LOG: MAIN
+  qualify/rewrite: domain missing or malformed
+ rewrite_one_header: type=F:
+   From: CALLER_NAME <CALLER@myhost.test.ex>
+ CALLER@myhost.test.ex in "^.{40,}@*"?
+  list element: ^.{40,}@*
+  address match test: subject=CALLER@myhost.test.ex pattern=^.{40,}@*
+  compiled RE '^.{40,}@*' found in local cache
+ CALLER@myhost.test.ex in "^.{40,}@*"? no (end of list)
+ CALLER@myhost.test.ex in "*@*"?
+  list element: *@*
+  address match test: subject=CALLER@myhost.test.ex pattern=*@*
+  myhost.test.ex in "*"?
+   list element: *
+   myhost.test.ex in "*"? yes (matched "*")
+  CALLER@myhost.test.ex in "*@*"? yes (matched "*@*")
+  search_open: lsearch "TESTSUITE/aux-fixed/0471.rw"
+    cached open
+  search_find: file="TESTSUITE/aux-fixed/0471.rw"
+    key="myhost.test.ex" partial=2 affix=*. starflags=0 opts=NULL
+  LRU list:
+    0TESTSUITE/aux-fixed/0471.rw
+    End
+  internal_search_find: file="TESTSUITE/aux-fixed/0471.rw"
+    type=lsearch key="myhost.test.ex" opts=NULL
+  cached data used for lookup of myhost.test.ex
+    in TESTSUITE/aux-fixed/0471.rw
+  lookup failed
+  trying partial match *.myhost.test.ex
+  internal_search_find: file="TESTSUITE/aux-fixed/0471.rw"
+    type=lsearch key="*.myhost.test.ex" opts=NULL
+  cached data used for lookup of *.myhost.test.ex
+    in TESTSUITE/aux-fixed/0471.rw
+  lookup failed
+  trying partial match *.test.ex
+  internal_search_find: file="TESTSUITE/aux-fixed/0471.rw"
+    type=lsearch key="*.test.ex" opts=NULL
+  cached data used for lookup of *.test.ex
+    in TESTSUITE/aux-fixed/0471.rw
+  lookup failed
+search_tidyup called
+>>Headers after rewriting and local additions:
+ T To: fred@
+ I Message-Id: <E10HmbC-000000005vi-0000@myhost.test.ex>
+ F From: CALLER_NAME <CALLER@myhost.test.ex>
+   Date: Tue, 2 Mar 1999 09:44:33 +0000
+
+Data file name: TESTSUITE/spool//input//10HmbC-000000005vi-0000-D
+Data file written for message 10HmbC-000000005vi-0000
+>>Generated Received: header line
+P Received: from CALLER by myhost.test.ex with local (Exim x.yz)
+       (envelope-from <CALLER@myhost.test.ex>)
+       id 10HmbC-000000005vi-0000
+       for r6@test.ex;
+       Tue, 2 Mar 1999 09:44:33 +0000
+using ACL "check"
+processing "warn" (TESTSUITE/test-config 15)
+check !verify = header_syntax
+check logwrite = verify header_syntax fails
+LOG: MAIN
+  verify header_syntax fails
+warn: condition test succeeded in ACL "check"
+processing "accept" (TESTSUITE/test-config 17)
+accept: condition test succeeded in ACL "check"
+end of ACL "check": ACCEPT
+Writing spool header file: TESTSUITE/spool//input//hdr.10HmbC-000000005vi-0000
+DSN: **** SPOOL_OUT - address: <r6@test.ex> errorsto: <NULL> orcpt: <NULL> dsn_flags: 0x0
+Renaming spool header file: TESTSUITE/spool//input//10HmbC-000000005vi-0000-H
+Size of headers = sss
+LOG: MAIN
+  <= CALLER@myhost.test.ex U=CALLER P=local S=sss
+search_tidyup called
+>>>>>>>>>>>>>>>> Exim pid=p1239 (fresh-exec) terminating with rc=0 >>>>>>>>>>>>>>>>