Cc 745

Fixes a matching issues.  If the instance_name in the attributes is left blank, .match would match on ALL instances.  I changed this to do regex matching.