whitelist can use RegExp

Hi  juanrmn.
I think  if i can write RegExp in the whitelist , i can use this in different subdomain site.
ie.xxxx.domain.com ,yyyy.domain.com