Is it possible to use wildcard for multiple subdomains?

We have two seprate SMTP relays
One fr standard Emails traffice, the other for specifc adressed SMTP traffic
- evering that is adressed to .com should be routed to adress
- everingthing that is adressed to sec.*.com should be routed trough to

For some reason the route.cfg does not work using wildcard like the following sample

sample route.cfg
sec.*.com []
*.com []

Only the following entry works and is routed via adress
sample of route.cfg which works: []