resource name matching