On Mon, 23 Feb 2004, Franck Gille' wrote: > if i put "acl academie dstdom_regex ac-" it's works, but it is'nt restrictive > enough. > i just want this acl match with ac-rouen.fr ac-sddssdf.fr ac-wxcxxwfd.fr .........
The regex for this becomes (^|\.)ac-[^.]*\.fr$ this will match all domains ac-*.fr and it's sub domains. Explanation: (^|\.) start of host name or a dot ac- ac- [^.] anything except for dot * the previous thing repeated 0 or more times \. a dot fr fr $ at the end of the host name Regards Henrik