renyard/validity — pull request #18 by ReactiveRaven (2012-08-20 21:50:16+00:00)
Title: Wildcards in containsHost method

Hi Renyard,
I've updated the util.js file to allow wildcards in the containsHost method. Given validateHosts:

*.YourTestingServer.net
*.localhost
*Test*

the following hosts would all be auto-validated:

SomeSiteYoureWorkingOn.YourTestingServer.net
anotherSite.YourTestingServer.net
workingOnSomethingLocally.localhost
www.YouShouldTestMe.com
Testing.net

This could be a temporary fix for #15 perhaps?

Thanks for the extension :)