hm, the xpath in vCO doesn't seem to support matches(.,'vmname',"i") with the flag "i" for case insensitive :-(
Can you use the library Action com.vmware.library.vc.vm.getAllVMsMatchingRegexp instead? with /vmname/i as Regexp parameter?
Cheers,
Joerg