[wpkg-users] package hostname checks

Stefan Pendl stefan.pendl.71 at gmail.com
Mon Sep 9 21:26:25 CEST 2013

Am 09.09.2013 21:18, schrieb Paul McGrath:
> Hi Stefan,
>    looks good.  Would you mind explaining what ^ and $ represent.
> If I was to set the exception list as a variable at the beginning woud I use the whole "^(PC34|PC789|NOTPC2)$"?
> Thanks
> Paul


^ ... the beginning of the string.
$ ... the end of the string

If you omit one or the other, you can have any leading or trailing 

See http://msdn.microsoft.com/en-us/library/1400241x%28v=vs.84%29.aspx 
for a detailed description.

Stefan P.

A: Because it messes up the order in which people normally read text.
Q: Why is top-posting such a bad thing?
A: Top-posting.
Q: What is the most annoying thing in e-mail?

More information about the wpkg-users mailing list