regular expressions: node definition
I am working on defining nodes using regular expressions. The names of my servers will excist of the server role, a number (01 and counting), and the domain name.
In the examples they show definities with www1 and counting but I can't combine that method with other methods.
What would be the best way to define a server using regular expressions if the server was called database01.domain.com for example?
Thanks in advance,
EDIT: I managed to get it working using /^database\d+$/ and /^database/d+.subdomain.domain.com/
EDIT: One final question, is it possible ... (more)