OT: REGEXP

Peter Russell pete at enitech.com.au
Tue Dec 12 22:10:34 GMT 2006


I have postfix recipient maps and some one on here once helped me format 
the content using regexp so i could create one entry that covered 
multiple formats. I need to change that but am almost clueless as to how.

Could some one offer a suggestion on how to write the following as a regexp.

Current				Required
user at domain.com	OK		user at domain.com		OK
				user at domain.com.au	OK

Is the REGEXP something like
/user at domain/.[com|/.com/.au]	OK

Appreciate any suggestions
Pete


More information about the MailScanner mailing list