Add predefined macros for expansions
[exim.git] / test / stderr / 0471
index 258f36fd162b2e9d815301c0ba6ae7310322df7e..19058d4ff82ff8306c82fe1aa5b6d3edf1bb8832 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,56 +98,70 @@ 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
- 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
- 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
- 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
- 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
+ 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)
+ 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
+global rewrite rules
+ 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)
+ 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
 rewritten sender = CALLER@myhost.test.ex
-rewrite_one_header: type=T:
-  To: random@test.example,
+rewrite headers
+ rewrite_one_header: type=T:
+   To: random@test.example,
     random@test.example,
     random@test.example,
     random@test.example,
@@ -225,25 +239,29 @@ 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
- lookup yielded: rwtest.example
+ 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)
+ 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
 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,
@@ -406,23 +424,26 @@ 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
+ 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)
+ 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
 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,
@@ -585,23 +606,26 @@ 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
+ 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)
+ 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
 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,
@@ -764,23 +788,26 @@ 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
+ 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)
+ 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
 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,
@@ -943,23 +970,26 @@ 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
+ 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)
+ 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
 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,
@@ -1122,23 +1152,26 @@ 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
+ 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)
+ 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
 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,
@@ -1301,23 +1334,26 @@ 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
+ 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)
+ 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
 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,
@@ -1480,23 +1516,26 @@ 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
+ 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)
+ 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
 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,
@@ -1659,23 +1698,26 @@ 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
+ 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)
+ 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
 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,
@@ -1838,23 +1880,26 @@ 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
+ 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)
+ 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
 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,
@@ -2016,23 +2061,26 @@ 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
+ 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)
+ 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
 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,
@@ -2194,23 +2242,26 @@ 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
+ 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)
+ 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
 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,
@@ -2372,23 +2423,26 @@ 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
+ 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)
+ 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
 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,
@@ -2550,23 +2604,26 @@ 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
+ 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)
+ 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
 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,
@@ -2728,23 +2785,26 @@ 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
+ 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)
+ 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
 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,
@@ -2906,23 +2966,26 @@ 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
+ 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)
+ 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
 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,
@@ -3084,23 +3147,26 @@ 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
+ 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)
+ 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
 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,
@@ -3262,23 +3328,26 @@ 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
+ 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)
+ 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
 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,
@@ -3440,23 +3509,26 @@ 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
+ 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)
+ 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
 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,
@@ -3618,23 +3690,26 @@ 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
+ 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)
+ 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
 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,
@@ -3796,23 +3871,26 @@ 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
+ 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)
+ 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
 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,
@@ -3974,23 +4052,26 @@ 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
+ 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)
+ 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
 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,
@@ -4152,23 +4233,26 @@ 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
+ 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)
+ 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
 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,
@@ -4329,23 +4413,26 @@ 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
+ 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)
+ 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
 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,
@@ -4506,23 +4593,26 @@ 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
+ 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)
+ 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
 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,
@@ -4683,23 +4773,26 @@ 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
+ 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)
+ 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
 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,
@@ -4860,23 +4953,26 @@ 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
+ 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)
+ 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
 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,
@@ -5037,23 +5133,26 @@ 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
+ 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)
+ 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
 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,
@@ -5214,23 +5313,26 @@ 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
+ 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)
+ 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
 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,
@@ -5391,23 +5493,26 @@ 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
+ 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)
+ 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
 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,
@@ -5568,23 +5673,26 @@ 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
+ 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)
+ 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
 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,
@@ -5745,23 +5853,26 @@ 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
+ 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)
+ 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
 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,
@@ -5922,23 +6033,26 @@ 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
+ 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)
+ 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
 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,
@@ -6099,23 +6213,26 @@ 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
+ 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)
+ 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
 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,
@@ -6276,23 +6393,26 @@ 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
+ 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)
+ 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
 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,
@@ -6452,23 +6572,26 @@ 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
+ 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)
+ 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
 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,
@@ -6628,23 +6751,26 @@ 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
+ 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)
+ 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
 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,
@@ -6804,23 +6930,26 @@ 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
+ 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)
+ 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
 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,
@@ -6980,23 +7109,26 @@ 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
+ 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)
+ 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
 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,
@@ -7156,23 +7288,26 @@ 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
+ 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)
+ 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
 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,
@@ -7332,23 +7467,26 @@ 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
+ 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)
+ 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
 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,
@@ -7508,23 +7646,26 @@ 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
+ 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)
+ 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
 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,
@@ -7684,23 +7825,26 @@ 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
+ 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)
+ 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
 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,
@@ -7860,23 +8004,26 @@ 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
+ 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)
+ 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
 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,
@@ -8036,23 +8183,26 @@ 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
+ 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)
+ 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
 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,
@@ -8212,23 +8362,26 @@ 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
+ 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)
+ 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
 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,
@@ -8388,23 +8541,26 @@ 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
+ 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)
+ 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
 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,
@@ -8564,23 +8720,26 @@ 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
+ 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)
+ 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
 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,
@@ -8739,23 +8898,26 @@ 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
+ 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)
+ 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
 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,
@@ -8914,23 +9076,26 @@ 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
+ 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)
+ 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
 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,
@@ -9089,23 +9254,26 @@ 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
+ 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)
+ 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
 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,
@@ -9264,23 +9432,26 @@ 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
+ 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)
+ 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
 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,
@@ -9439,23 +9610,26 @@ 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
+ 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)
+ 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
 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,
@@ -9614,23 +9788,26 @@ 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
+ 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)
+ 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
 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,
@@ -9789,23 +9966,26 @@ 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
+ 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)
+ 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
 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,
@@ -9964,23 +10144,26 @@ 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
+ 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)
+ 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
 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,
@@ -10139,23 +10322,26 @@ 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
+ 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)
+ 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
 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,
@@ -10314,23 +10500,26 @@ 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
+ 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)
+ 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
 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,
@@ -10489,23 +10678,26 @@ 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
+ 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)
+ 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
 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,
@@ -10664,23 +10856,26 @@ 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
+ 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)
+ 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
 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,
@@ -10838,23 +11033,26 @@ 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
+ 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)
+ 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
 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,
@@ -11012,23 +11210,26 @@ 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
+ 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)
+ 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
 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,
@@ -11186,23 +11387,26 @@ 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
+ 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)
+ 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
 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,
@@ -11360,23 +11564,26 @@ 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
+ 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)
+ 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
 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,
@@ -11534,23 +11741,26 @@ 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
+ 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)
+ 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
 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,
@@ -11708,23 +11918,26 @@ 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
+ 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)
+ 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
 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,
@@ -11882,23 +12095,26 @@ 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
+ 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)
+ 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
 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,
@@ -12056,23 +12272,26 @@ 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
+ 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)
+ 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
 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,
@@ -12230,23 +12449,26 @@ 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
+ 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)
+ 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
 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,
@@ -12404,23 +12626,26 @@ 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
+ 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)
+ 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
 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,
@@ -12578,23 +12803,26 @@ 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
+ 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)
+ 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
 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,
@@ -12752,23 +12980,26 @@ 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
+ 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)
+ 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
 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,
@@ -12926,23 +13157,26 @@ 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
+ 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)
+ 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
 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,
@@ -13099,23 +13333,26 @@ 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
+ 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)
+ 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
 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,
@@ -13272,23 +13509,26 @@ 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
+ 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)
+ 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
 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,
@@ -13445,23 +13685,26 @@ 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
+ 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)
+ 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
 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,
@@ -13618,23 +13861,26 @@ 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
+ 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)
+ 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
 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,
@@ -13791,23 +14037,26 @@ 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
+ 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)
+ 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
 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,
@@ -13964,23 +14213,26 @@ 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
+ 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)
+ 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
 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,
@@ -14137,23 +14389,26 @@ 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
+ 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)
+ 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
 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,
@@ -14310,23 +14565,26 @@ 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
+ 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)
+ 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
 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,
@@ -14483,23 +14741,26 @@ 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
+ 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)
+ 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
 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,
@@ -14655,23 +14916,26 @@ 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
+ 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)
+ 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
 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,
@@ -14826,23 +15090,26 @@ 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
+ 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)
+ 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
 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,
@@ -14996,23 +15263,26 @@ 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
+ 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)
+ 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
 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,
@@ -15165,23 +15435,26 @@ 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
+ 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)
+ 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
 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,
@@ -15333,23 +15606,26 @@ 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
+ 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)
+ 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
 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,
@@ -15500,23 +15776,26 @@ 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
+ 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)
+ 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
 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,
@@ -15666,23 +15945,26 @@ 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
+ 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)
+ 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
 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,
@@ -15831,23 +16113,26 @@ 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
+ 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)
+ 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
 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,
@@ -15995,23 +16280,26 @@ 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
+ 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)
+ 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
 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,
@@ -16158,23 +16446,26 @@ 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
+ 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)
+ 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
 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,
@@ -16320,23 +16611,26 @@ 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
+ 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)
+ 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
 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,
@@ -16481,23 +16775,26 @@ 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
+ 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)
+ 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
 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,
@@ -16641,23 +16938,26 @@ 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
+ 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)
+ 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
 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,
@@ -16800,23 +17100,26 @@ 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
+ 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)
+ 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
 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,
@@ -16958,23 +17261,26 @@ 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
+ 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)
+ 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
 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,
@@ -17115,23 +17421,26 @@ 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
+ 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)
+ 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
 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,
@@ -17271,23 +17580,26 @@ 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
+ 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)
+ 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
 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,
@@ -17426,23 +17738,26 @@ 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
+ 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)
+ 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
 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,
@@ -17580,23 +17895,26 @@ 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
+ 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)
+ 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
 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,
@@ -17733,23 +18051,26 @@ 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
+ 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)
+ 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
 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,
@@ -17885,23 +18206,26 @@ 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
+ 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)
+ 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
 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,
@@ -18036,23 +18360,26 @@ 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
+ 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)
+ 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
 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,
@@ -18186,23 +18513,26 @@ 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
+ 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)
+ 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
 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,
@@ -18335,23 +18665,26 @@ 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
+ 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)
+ 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
 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,
@@ -18483,23 +18816,26 @@ 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
+ 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)
+ 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
 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,
@@ -18630,23 +18966,26 @@ 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
+ 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)
+ 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
 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,
@@ -18776,23 +19115,26 @@ 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
+ 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)
+ 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
 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,
@@ -18921,23 +19263,26 @@ 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
+ 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)
+ 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
 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,
@@ -19065,23 +19410,26 @@ 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
+ 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)
+ 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
 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,
@@ -19208,23 +19556,26 @@ 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
+ 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)
+ 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
 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,
@@ -19350,23 +19701,26 @@ 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
+ 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)
+ 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
 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,
@@ -19491,23 +19845,26 @@ 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
+ 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)
+ 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
 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,
@@ -19631,23 +19988,26 @@ 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
+ 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)
+ 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
 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,
@@ -19770,23 +20130,26 @@ 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
+ 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)
+ 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
 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,
@@ -19908,23 +20271,26 @@ 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
+ 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)
+ 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
 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,
@@ -20045,23 +20411,26 @@ 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
+ 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)
+ 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
 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,
@@ -20181,23 +20550,26 @@ 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
+ 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)
+ 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
 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,
@@ -20316,23 +20688,26 @@ 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
+ 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)
+ 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
 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,
@@ -20450,23 +20825,26 @@ 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
+ 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)
+ 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
 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,
@@ -20583,23 +20961,26 @@ 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
+ 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)
+ 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
 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,
@@ -20715,23 +21096,26 @@ 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
+ 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)
+ 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
 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,
@@ -20846,23 +21230,26 @@ 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
+ 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)
+ 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
 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,
@@ -20976,23 +21363,26 @@ 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
+ 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)
+ 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
 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,
@@ -21105,23 +21495,26 @@ 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
+ 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)
+ 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
 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,
@@ -21233,23 +21626,26 @@ 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
+ 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)
+ 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
 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,
@@ -21360,23 +21756,26 @@ 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
+ 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)
+ 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
 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,
@@ -21486,23 +21885,26 @@ 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
+ 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)
+ 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
 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,
@@ -21611,23 +22013,26 @@ 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
+ 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)
+ 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
 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,
@@ -21735,23 +22140,26 @@ 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
+ 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)
+ 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
 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,
@@ -21858,23 +22266,26 @@ 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
+ 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)
+ 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
 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,
@@ -21980,23 +22391,26 @@ 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
+ 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)
+ 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
 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,
@@ -22101,23 +22515,26 @@ 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
+ 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)
+ 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
 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,
@@ -22221,23 +22638,26 @@ 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
+ 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)
+ 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
 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,
@@ -22340,23 +22760,26 @@ 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
+ 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)
+ 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
 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,
@@ -22458,23 +22881,26 @@ 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
+ 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)
+ 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
 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,
@@ -22575,23 +23001,26 @@ 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
+ 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)
+ 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
 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,
@@ -22691,23 +23120,26 @@ 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
+ 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)
+ 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
 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,
@@ -22806,23 +23238,26 @@ 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
+ 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)
+ 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
 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,
@@ -22920,23 +23355,26 @@ 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
+ 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)
+ 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
 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,
@@ -23033,23 +23471,26 @@ 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
+ 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)
+ 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
 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,
@@ -23145,23 +23586,26 @@ 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
+ 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)
+ 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
 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,
@@ -23256,23 +23700,26 @@ 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
+ 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)
+ 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
 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,
@@ -23366,23 +23813,26 @@ 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
+ 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)
+ 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
 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,
@@ -23475,23 +23925,26 @@ 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
+ 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)
+ 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
 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,
@@ -23583,23 +24036,26 @@ 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
+ 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)
+ 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
 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,
@@ -23690,23 +24146,26 @@ 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
+ 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)
+ 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
 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,
@@ -23796,23 +24255,26 @@ 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
+ 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)
+ 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
 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,
@@ -23901,23 +24363,26 @@ 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
+ 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)
+ 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
 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,
@@ -24005,23 +24470,26 @@ 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
+ 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)
+ 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
 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,
@@ -24108,23 +24576,26 @@ 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
+ 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)
+ 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
 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,
@@ -24210,23 +24681,26 @@ 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
+ 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)
+ 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
 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,
@@ -24311,23 +24785,26 @@ 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
+ 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)
+ 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
 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,
@@ -24411,23 +24888,26 @@ 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
+ 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)
+ 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
 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,
@@ -24510,23 +24990,26 @@ 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
+ 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)
+ 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
 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,
@@ -24608,23 +25091,26 @@ 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
+ 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)
+ 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
 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,
@@ -24705,23 +25191,26 @@ 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
+ 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)
+ 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
 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,
@@ -24801,23 +25290,26 @@ 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
+ 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)
+ 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
 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,
@@ -24896,23 +25388,26 @@ 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
+ 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)
+ 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
 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,
@@ -24990,23 +25485,26 @@ 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
+ 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)
+ 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
 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,
@@ -25083,23 +25581,26 @@ 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
+ 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)
+ 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
 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,
@@ -25176,35 +25677,38 @@ 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>
+ 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)
+ 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
 search_tidyup called
 >>Headers after rewriting and local additions:
 * To: random@test.example,
@@ -25374,11 +25878,16 @@ Data file written for message 10HmaX-0005vi-00
 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
+       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-0005vi-00
-DSN: Write SPOOL: -dsn_envid NULL
-DSN: Write SPOOL  :-dsn_ret 0
-DSN: Flags: 0x0
 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
 Size of headers = sss
@@ -25386,4 +25895,793 @@ 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
+ 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)
+ address match test: subject=r2@test.ex pattern=*@*
+ 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
+global rewrite rules
+ 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)
+ 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
+rewritten sender = CALLER@myhost.test.ex
+rewrite headers
+ rewrite_one_header: type=T:
+   To: localpart_with_056_chars_56789012345678901234567890123456@test.example
+ 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
+ address match test: subject=deny_me@test.example pattern=*@*
+ 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>
+ 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)
+ 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
+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-0005vi-00@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-0005vi-00-D
+Data file written for message 10HmaY-0005vi-00
+>>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-0005vi-00
+       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-0005vi-00
+DSN: **** SPOOL_OUT - address: <r2@test.ex> errorsto: <NULL> orcpt: <NULL> dsn_flags: 0x0
+Renaming spool header file: TESTSUITE/spool//input//10HmaY-0005vi-00-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
+ 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)
+ address match test: subject=r3@test.ex pattern=*@*
+ 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
+global rewrite rules
+ 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)
+ 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
+rewritten sender = CALLER@myhost.test.ex
+rewrite headers
+ rewrite_one_header: type=T:
+   To: localpart_with_236_chars_56789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456@test.example
+ 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
+ address match test: subject=deny_me@test.example pattern=*@*
+ 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>
+ 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)
+ 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
+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-0005vi-00@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-0005vi-00-D
+Data file written for message 10HmaZ-0005vi-00
+>>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-0005vi-00
+       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-0005vi-00
+DSN: **** SPOOL_OUT - address: <r3@test.ex> errorsto: <NULL> orcpt: <NULL> dsn_flags: 0x0
+Renaming spool header file: TESTSUITE/spool//input//10HmaZ-0005vi-00-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
+ 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)
+ address match test: subject=r4@test.ex pattern=*@*
+ 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
+global rewrite rules
+ 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)
+ 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
+rewritten sender = CALLER@myhost.test.ex
+rewrite headers
+ rewrite_one_header: type=T:
+   To: localpart_with_256_chars_5678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456@test.example
+LOG: MAIN
+  rewrite: address is ridiculously long: localpart_with_256_chars_567890123456789012345678901234567890123...
+ rewrite_one_header: type=F:
+   From: CALLER_NAME <CALLER@myhost.test.ex>
+ 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)
+ 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
+search_tidyup called
+>>Headers after rewriting and local additions:
+T To: localpart_with_256_chars_5678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456@test.example
+I Message-Id: <E10HmbA-0005vi-00@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-0005vi-00-D
+Data file written for message 10HmbA-0005vi-00
+>>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-0005vi-00
+       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-0005vi-00
+DSN: **** SPOOL_OUT - address: <r4@test.ex> errorsto: <NULL> orcpt: <NULL> dsn_flags: 0x0
+Renaming spool header file: TESTSUITE/spool//input//10HmbA-0005vi-00-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
+ 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)
+ address match test: subject=r5@test.ex pattern=*@*
+ 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
+global rewrite rules
+ 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)
+ 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
+rewritten sender = CALLER@myhost.test.ex
+rewrite headers
+ rewrite_one_header: type=T:
+   To: undisclosed recpients:;
+ rewrite_one_header: type=F:
+   From: CALLER_NAME <CALLER@myhost.test.ex>
+ 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)
+ 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
+search_tidyup called
+>>Headers after rewriting and local additions:
+T To: undisclosed recpients:;
+I Message-Id: <E10HmbB-0005vi-00@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-0005vi-00-D
+Data file written for message 10HmbB-0005vi-00
+>>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-0005vi-00
+       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-0005vi-00
+DSN: **** SPOOL_OUT - address: <r5@test.ex> errorsto: <NULL> orcpt: <NULL> dsn_flags: 0x0
+Renaming spool header file: TESTSUITE/spool//input//10HmbB-0005vi-00-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
+ 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)
+ address match test: subject=r6@test.ex pattern=*@*
+ 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
+global rewrite rules
+ 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)
+ 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
+rewritten sender = CALLER@myhost.test.ex
+rewrite headers
+ rewrite_one_header: type=T:
+   To: fred@
+LOG: MAIN
+  rewrite: domain missing or malformed
+ rewrite_one_header: type=F:
+   From: CALLER_NAME <CALLER@myhost.test.ex>
+ 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)
+ 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
+search_tidyup called
+>>Headers after rewriting and local additions:
+T To: fred@
+I Message-Id: <E10HmbC-0005vi-00@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-0005vi-00-D
+Data file written for message 10HmbC-0005vi-00
+>>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-0005vi-00
+       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-0005vi-00
+DSN: **** SPOOL_OUT - address: <r6@test.ex> errorsto: <NULL> orcpt: <NULL> dsn_flags: 0x0
+Renaming spool header file: TESTSUITE/spool//input//10HmbC-0005vi-00-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 >>>>>>>>>>>>>>>>