made it case insensitive
allow leading wild cards