Changes

Jump to: navigation, search

Regular expression support

376 bytes added, 18:37, 16 March 2006
m
no edit summary
Normally, hosts are parsed from top to the bottom, except when the hostname is not a regular expression.
So host "bronek" will match "profile1", even though it also matches "b.+" and "bron.+" (which are regular expressions).
 
 
----
 
'''Note'''
 
The behaviour of regular expressions changed slightly in WPKG 0.9.7.
 
Previously, a host name:
 
<host name="pc" profile-id="profile2" />
 
would match all hosts that contain "pc" in the name.
 
Now it matches "pc", and only "pc".
 
To match "pc001", "pc002", "pcABC", you have to use "pc.+".
 
 
The change was introduced to ease the maintenance of hosts.
[[category:Documentation]]

Navigation menu