fix regexp for invoice/client method matching