[wpkg-users] More ways of defining hosts in hosts.xml - end

Jindřich Vorlíček vorlicek at zsbartuskova.cz
Sat Apr 25 21:02:37 CEST 2009


I am not familiar with regex engine.
Will using the pipe characters work also for IP ranges (that use
non-regular-expression matching)?
I think, will work e.g. <host
id="192.168.0.1-254|192.168.1-2.200-30|192.168.3-4.3" profile-id="common"
/>?

From: mscdex [mailto:mscdex at gmail.com] 
Sent: Saturday, April 25, 2009 8:14 PM
To: Jindřich Vorlíček
Cc: K.E.Jones at bton.ac.uk; wpkg-users at lists.wpkg.org
Subject: Re: [wpkg-users] More ways of defining hosts in hosts.xml - end

Maybe I'm missing something, but I don't quite understand the reasoning for
resorting to using semicolons for selecting multiple hosts/OSes/etc.
Depending on the support or differences in WSH's regex engine, I believe you
should already be able to do this multiple matching with regular expressions
using the pipe character, such as: <host id="computer02|salesgoup|wpkgrocks"
profile-id="common" />

I have not tried it out myself, but theoretically any valid regexp should
work.




More information about the wpkg-users mailing list